git.iko.soy/rowtype-yoga/purescript-native
on 2a4e404 help sign in
rowtype-yoga/purescript-native/examples/passing/TypeClassMemberOrderChange.purs
13 lines 214 B history raw
1module Main where
3import Prelude
5class Test a where
6 fn :: a -> a -> a
7 val :: a
9instance testBoolean :: Test Boolean where
10 val = true
11 fn x y = y
13main = Control.Monad.Eff.Console.log (show (fn true val))