Skip to content

Commit

Permalink
fixup! todo/review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
brprice committed Jul 24, 2023
1 parent e21a958 commit 842abef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions primer/test/Tests/EvalFull.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1373,9 +1373,9 @@ unit_prim_partial_map =
in do
-- TODO/REVIEW:
-- note that ww/map is somewhat pointless when push down lets -- maybe we should push lets inside letrecs (maybe just inside type?)?
-- nb, get something like @let α=Char, β=Char, f=toUpper in (letrec go : List α -> List β; go = λxs.RHS in go)
-- nb, get something like @let α=Char, β=Char, f=toUpper in (letrec go : List α -> List β; go = λxs.RHS in go)@
-- and then in two steps (expand @go@, push stack of let+letrec)
-- @λxs. let α=Char, β=Char, f=toUpper in (letrec go : List α -> List β; go = λxs.RHS in RHS : List α -> List β)
-- @λxs. let α=Char, β=Char, f=toUpper in (letrec go : List α -> List β; go = λxs.RHS in RHS : List α -> List β)@
-- we carry around the subst for α,β and f, using α,β inside annotation and f in RHS each time expand the letrec
s <- evalFullTest maxID builtinTypes (gs <> primDefs) 91 Syn e
s <~==> Right r
Expand Down

0 comments on commit 842abef

Please sign in to comment.