git.iko.soy/rowtype-yoga/purescript-native
on eb5d4e4 help sign in
11 lines 202 B history raw
1module Main where
3import Prelude
4import Test.Assert
6snd = \[_, y] -> y
8main = do
9 let ts = snd [1.0, 2.0]
10 assert' "Incorrect result from 'snd'." (ts == 2.0)
11 Control.Monad.Eff.Console.log "Done"