haskell / haskell/parsec

How to handle include?

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
892
Forks
99
PR merge metrics
No merged PRs in 30d

Description

The document says
> The getInput and setInput functions can for example be used to deal with #include files.

But I can't find a good way to achieve it. Should I use `setPosition` to jump to the new file, and set it back when the new file is done?

Can you give an example of the expected way to use them?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.