Haskell

From bibbleWiki
Revision as of 21:07, 10 February 2025 by Iwiseman (talk | contribs) (Created page with "=Introduction= This is my first dip into Haskell, just felt like trying it =Hello World= Here we start with main and strange format but no curly brackets which is good. <syntaxthighlight lang="hs"> main :: IO() main = putStrLn "Hello World" </syntaxthighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

This is my first dip into Haskell, just felt like trying it

Hello World

Here we start with main and strange format but no curly brackets which is good. <syntaxthighlight lang="hs"> main :: IO() main = putStrLn "Hello World" </syntaxthighlight>