git.iko.soy
/
Idris-dev
readme
files
commits
refs
on
master
help
sign in
Parse 'with' arguments in pattern mode
Fixes #1847
commit
21ccbe87ca796bb0454d53c5630974a6474b6228
author
Edwin Brady
<ecb10@st-andrews.ac.uk>
date
Mon 12 Jan 2015, 18:15
(12 years ago)
parent
f2da9b4
1 file changed
+1
−1
compare with master
unified
split
src/Idris/Parser.hs
+1
−1
src/Idris/Parser.hs
+1
−1
@@ -938,7 +938,7 @@ WExpr ::= '|' Expr';
938
938
-}
939
939
wExpr
::
SyntaxInfo
->
IdrisParser PTerm
940
940
wExpr syn =
do
lchar
'|'
941
−
expr' syn
941
+
expr'
(
syn
{ inPattern =
True
})
942
942
<?>
"with pattern"
943
943
944
944
{- | Parses a where block
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list