on d02483a help sign in
ormolu/data/examples/declaration/instance/instance-sigs-multiple.hs
10 lines 162 B history raw
1{-# LANGUAGE InstanceSigs #-}
3instance Applicative [] where
4 pure ::
5 a
6 -> [a]
7 pure a = [a]
8 (<*>)
9 :: [ a ] -> [ a ] -> [ a ]
10 (<*>) _ _ = []