Skip to content

Commit

Permalink
[ fix ] Normalising the type of implicit box
Browse files Browse the repository at this point in the history
Cf. issue idris-lang/Idris-dev#4206 for more explanations
  • Loading branch information
gallais committed Nov 20, 2017
1 parent d8c333d commit 1a0aaa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Combinators.idr
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lteLower mlen p = MkParser (\ plem => runParser p (lteTransitive plem mlen))
ltLower : LT m n -> Parser toks tok mn a n -> Parser toks tok mn a m
ltLower mltn = lteLower (lteSuccLeft mltn)

implicit box : All (Parser toks tok mn a :-> Box (Parser toks tok mn a))
implicit box : Parser toks tok mn a n -> Box (Parser toks tok mn a) n
box = lteClose lteLower

anyTok : (Inspect toks tok, Alternative mn) =>
Expand Down

0 comments on commit 1a0aaa5

Please sign in to comment.