I'm getting an "Uh oh" error on the following standalone input file on 5595507d943cb00f92674c19a5cbafcd93dff92b:
{-# LANGUAGE NoImplicitPrelude #-}
module Arrow where
infixr 3 >>>
infixr 3 ***
infixr 3 &&&
class Arrow a where
(>>>) :: a b c -> a c d -> a b d
arr :: (b -> c) -> a b c
(***) :: a b c -> a b' c' -> a (b,b') (c,c')
(&&&) :: a b c -> a b c' -> a b (c,c')
f &&& g = arr (\b -> (b,b)) >>> f *** g
instance Arrow (->) where
f >>> g = \x -> g (f x)
arr f = f
(f *** g) (x,y) = (f x, g y)
{-# LANGUAGE NoImplicitPrelude #-}
module Exceptions (main) where
mustThrow :: forall p exc. p exc -> ()
mustThrow _ = ()
main :: ()
main = mustThrow (\x -> ())
I'm getting an "Uh oh" error on the following standalone input file on 5595507d943cb00f92674c19a5cbafcd93dff92b:
The exact output of LH is: