on master help sign in
Remove needless map in Core/TT

Fixes #608

commit7041f653a85bb5e49d8c02c496b3f25ef1cc052f authorEdwin Brady <ecb10@st-andrews.ac.uk> dateThu 21 Nov 2013, 20:35 (13 years ago) parent7c1e461
1 file changed+1−1
src/Core/TT.hs+1−1
src/Core/TT.hs+1−1
@@ -1010,7 +1010,7 @@ orderPats tm = op [] tm
10101010 where
10111011 op ps (Bind n (PVar t) sc) = op ((n, PVar t) : ps) sc
10121012 op ps (Bind n (Hole t) sc) = op ((n, Hole t) : ps) sc
1013− op ps sc = bindAll (map (\ (n, t) -> (n, t)) (sortP ps)) sc
1013+ op ps sc = bindAll (sortP ps) sc
10141014
10151015 sortP ps = pick [] (reverse ps)
10161016