packages feed

purescript-0.9.1: examples/passing/ShadowedTCOLet.purs

module Main where

import Prelude
import Partial.Unsafe (unsafePartial)
import Control.Monad.Eff
import Control.Monad.Eff.Console (log)

f x y z =
  let f 1.0 2.0 3.0 = 1.0
  in f x z y

main :: Eff _ _
main = do
  log $ show $ unsafePartial f 1.0 3.0 2.0
  log "Done"