Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdearman committed Jul 5, 2024
1 parent 57bccd6 commit db73c8a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions examples/mvp.scm
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,3 @@ x
; => #u8(1 2 3)

(def (compose f g x) (f (g x)))
; => compose : (a -> b) -> (c -> a) -> c -> b = <fn>

; with type annotations
(def (compose (a b c)
(f : (a -> b))
(g : (c -> a))
(x : c)
: c -> b)
(f (g x)))

(-> (a b c) (-> a b) (-> c a) c b)
(def (compose f g x) (f (g x)))

0 comments on commit db73c8a

Please sign in to comment.