Skip to content

Commit

Permalink
Merge pull request #81 from Dretch/add-stack-safety-note
Browse files Browse the repository at this point in the history
Add a note to the docs about stack safety and using Data.List.(manyRec|someRec).
  • Loading branch information
thomashoneyman authored May 6, 2019
2 parents 530a81b + 49b585f commit e801a0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
!/.jshintrc
!/.travis.yml
/bower_components/
/generated-docs/
/node_modules/
/output/
3 changes: 3 additions & 0 deletions src/Text/Parsing/Parser/Combinators.purs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
-- | ```purescript
-- | Text.Parsec.many (char 'x') <=> fromCharArray <$> Data.Array.many (char 'x')
-- | ```
-- |
-- | Note that `Data.(Array|List).(many|some)` are not stack safe. If you need to parse
-- | large numbers of items then consider using `Data.List.(manyRec|someRec)` instead.

module Text.Parsing.Parser.Combinators where

Expand Down

0 comments on commit e801a0e

Please sign in to comment.