Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basvandijk/repr
Render overloaded expressions to their textual representation.
https://github.com/basvandijk/repr
haskell pretty-print
Last synced: 29 days ago
JSON representation
Render overloaded expressions to their textual representation.
- Host: GitHub
- URL: https://github.com/basvandijk/repr
- Owner: basvandijk
- License: other
- Created: 2011-04-17T15:55:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-09-23T16:05:11.000Z (about 12 years ago)
- Last Synced: 2024-10-04T15:18:15.856Z (about 1 month ago)
- Topics: haskell, pretty-print
- Language: Haskell
- Homepage:
- Size: 129 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
This library allows you to render overloaded expressions to their
textual representation. For example:*Repr> let r = 1.5 + 2 + (3 + (-4) * (5 - pi / sqrt 6)) :: Repr Double
*Repr> extract r
17.281195923884734
*Repr> show rd
"1.5 + 2.0 + (3.0 + negate 4.0 * (5.0 - pi / sqrt 6.0))"