Skip to content

Commit e801a0e

Browse files
Merge pull request #81 from Dretch/add-stack-safety-note
Add a note to the docs about stack safety and using Data.List.(manyRec|someRec).
2 parents 530a81b + 49b585f commit e801a0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
!/.jshintrc
66
!/.travis.yml
77
/bower_components/
8+
/generated-docs/
89
/node_modules/
910
/output/

Diff for: src/Text/Parsing/Parser/Combinators.purs

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
-- | ```purescript
1818
-- | Text.Parsec.many (char 'x') <=> fromCharArray <$> Data.Array.many (char 'x')
1919
-- | ```
20+
-- |
21+
-- | Note that `Data.(Array|List).(many|some)` are not stack safe. If you need to parse
22+
-- | large numbers of items then consider using `Data.List.(manyRec|someRec)` instead.
2023

2124
module Text.Parsing.Parser.Combinators where
2225

0 commit comments

Comments
 (0)