Skip to content

Commit a6ca688

Browse files
committed
007_path.d: ':core id' returns the value, not the type
1 parent d6e49d1 commit a6ca688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

007_path.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ plus :: forall a. Num a => a -> a -> a
311311

312312
> :core id
313313
id :: forall a. a -> a
314-
id = \(ds1 : a) -> a
314+
id = \(ds1 : a) -> ds1
315315

316316
> :core compose
317317
compose :: forall c d e. (d -> e) -> (c -> d) -> c -> e

0 commit comments

Comments
 (0)