Hari's Corner
Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and thenSo on to learning Haskell
Filed under:
Bits and Bytes by
Hari
Posted on Wed, Oct 26, 2011 at 10:58 IST (last updated: Thu, Nov 3, 2011 @ 14:57 IST)
In this series | Next > |
I highly recommend this tutorial. It's very readable and understandable for those from coming a procedural/OOP programming background. And yes, theimport Data.Char
caesarenc :: Char -> Char
caesarenc 'z' = 'a' caesarenc 'Z' = 'A' caesarenc ch = if isAlpha ch then succ ch else ch
main :: IO ()
main = do putStrLn "Enter a string to encrypt (return to quit): " st <- getLine if st /= [] then do putStrLn $ "The encrypted string is: " ++ map caesarenc st main else return ()
#haskell
freenode IRC channel is also populated by kind folk who make you feel comfortable even if you are an absolute beginner.
In this series
- Musings on Functional Programming and Haskell
- Tic Tac Toe (a.k.a Noughts and Crosses) in Haskell
- Five tips about Functional Programming for a Haskell newbie from a Haskell newbie
- My Haskell article was linked at reddit
- Why learning Functional Programming and Haskell in particular can be hard
- Something about Haskell I wanted to share
- So on to learning Haskell
Comments closed
The blog owner has closed further commenting on this entry.
No comments yet
There are no comments for this article yet.