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