Кишки наружу

Jun 18, 2016 00:17

Все-таки оставили:
GHCi> :i ($) ($) :: forall (r :: GHC.Types.RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b -- Defined in `GHC.Base' infixr 0 $ GHCi> :i undefined undefined :: forall (r :: GHC.Types.RuntimeRep) (a :: TYPE r). GHC.Stack.Types.HasCallStack => a -- Defined in `GHC.Err' Хорошо хоть
> :t ($) ($) :: (a -> b) -> a -> b > :t undefined undefined :: a

haskell, ghc 8

Previous post Next post
Up