Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Anonymousâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #287493 |
Post edited: |
— | over 1 year ago |
Edit | Post #287493 | Initial revision | — | over 1 year ago |
Question | — |
Haskell revision question. The answer for this question is that there is something wrong with the expression of the first guard of this function below: ``` congratulations :: [(String, Int)] -> [String] congratulations [] = [] congratulations ((name,mark):rest) | mark > 40 = name | otherwise = congratulations r... (more) |
— | over 1 year ago |
Edit | Post #287440 | Initial revision | — | over 1 year ago |
Question | — |
What does this function definition mean in Haskell? What does this function definition mean in Haskell? ``` fn x [] = [] fn x (True:ys) = x : fn x ys fn x = [] ``` (more) |
— | over 1 year ago |
Edit | Post #287356 |
Post edited: |
— | over 1 year ago |
Comment | Post #287357 |
Hi I have a new question, I thought I posted it here but it seems as if it's a comment to my question. Could you please help me take a look at it? Thank you... (more) |
— | over 1 year ago |
Edit | Post #287356 |
Post edited: |
— | over 1 year ago |
Edit | Post #287356 |
Post edited: |
— | over 1 year ago |
Edit | Post #287356 |
Post edited: |
— | over 1 year ago |
Edit | Post #287356 | Initial revision | — | over 1 year ago |
Question | — |
Why does my code show an error at deriving (eq)? (SOLVED) NEW ERROR: At SimpleEnigma & SteckeredEnigma constructors which I need help on :") Hi, I'm trying to code an Enigma machine in Haskell which were used by the German in WWII to transmit coded messages. An Enigma Machine consists of 3 rotors which are substitution ciphers and a reflector which contains 13 pairs of characters. To encode a character it is first encoded by the first ro... (more) |
— | over 1 year ago |