WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit db53adc

Browse files
pbrisbinsupki
authored andcommitted
Remove note about def preventing failure
This was an outdated note and refers to behavior before 28bf50b, when parse errors were replaced with default values.
1 parent 92b11c6 commit db53adc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Env/Internal/Parser.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ defaultSensitive :: Bool
254254
defaultSensitive = False
255255

256256
-- | The default value of the variable
257-
--
258-
-- /Note:/ specifying it means the parser won't ever fail.
259257
def :: a -> Mod Var a
260258
def d =
261259
Mod (\v -> v {varDef=Just d})

0 commit comments

Comments
 (0)