Activity for carmysilna
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #284358 | Initial revision | — | about 3 years ago |
Answer | — |
A: Make $2 + 2 = 5$ [Haskell], 13 bytes 2!2=5 x!y=x+y Try it online! (more) |
— | about 3 years ago |
Edit | Post #284350 |
Post edited: |
— | about 3 years ago |
Comment | Post #284350 |
You're right, after adding the examples I realized my initial solution was far too simplistic. (more) |
— | about 3 years ago |
Edit | Post #284351 | Initial revision | — | about 3 years ago |
Answer | — |
A: Word Count Tool [Haskell], 47 bytes l=length f s=(l(words s),l s,l$filter(/= ' ')s) Try it online! (more) |
— | about 3 years ago |
Edit | Post #284350 | Initial revision | — | about 3 years ago |
Answer | — |
A: Caesar shift cipher [Haskell], 74 bytes a=ord 'a' n!c|isLetter c=chr((rem((ord c -a)+n) 26)+a)|True=c f n=map (n!) Try it online! (more) |
— | about 3 years ago |
Edit | Post #284349 | Initial revision | — | about 3 years ago |
Answer | — |
A: 1, 2, Fizz, 4, Buzz! [Haskell], 110 bytes main=mapM(\n->putStrLn$case(rem n 3,rem n 5)of(0,0)->"FizzBuzz";(0,)->"Fizz";(,0)->"Buzz";->show n)[1..100] Try it online! (more) |
— | about 3 years ago |
Edit | Post #284348 | Initial revision | — | about 3 years ago |
Answer | — |
A: Reverse an ASCII string [Haskell], 7 bytes reverse Try it online! (more) |
— | about 3 years ago |
Edit | Post #284347 | Initial revision | — | about 3 years ago |
Answer | — |
A: "Hello, World!" [Haskell], 25 bytes main=print"Hello, World!" Try it online! (more) |
— | about 3 years ago |