Want to learn and master PureScript?

Join Exercism’s PureScript Track for access to 31 exercises with automatic analysis of your code and personal mentoring, all 100% free.

About PureScript

module HelloWorld where

import Prelude
import Data.Maybe (Maybe(..))

helloWorld :: Maybe String -> String
helloWorld Nothing = "Hello, World!"
helloWorld (Just x) =
  "Hello, " <> x <> "!"