git.iko.soy/rowtype-yoga/purescript-native
on cd4c708 help sign in
rowtype-yoga/purescript-native/examples/passing/TypeClassMemberOrderChange.purs
16 lines 261 B history raw
1module Main where
3import Prelude
4import Control.Monad.Eff.Console (log)
6class Test a where
7 fn :: a -> a -> a
8 val :: a
10instance testBoolean :: Test Boolean where
11 val = true
12 fn x y = y
14main = do
15 log (show (fn true val))
16 log "Done"