mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-08-17 23:50:21 +03:00
Merge pull request #85 from da-x/master
007_path.d: ':core id' returns the value, not the type
This commit is contained in:
commit
8d6a09c30f
@ -311,7 +311,7 @@ plus :: forall a. Num a => a -> a -> a
|
||||
|
||||
> :core id
|
||||
id :: forall a. a -> a
|
||||
id = \(ds1 : a) -> a
|
||||
id = \(ds1 : a) -> ds1
|
||||
|
||||
> :core compose
|
||||
compose :: forall c d e. (d -> e) -> (c -> d) -> c -> e
|
||||
|
Loading…
Reference in New Issue
Block a user