Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

pretty-print #93

Closed
zeptometer opened this issue Apr 1, 2014 · 5 comments
Closed

pretty-print #93

zeptometer opened this issue Apr 1, 2014 · 5 comments

Comments

@zeptometer
Copy link
Contributor

No description provided.

@nyuichi
Copy link
Member

nyuichi commented Apr 1, 2014

Proposed API:

(define-library (picrin pretty-print)

  ; (pretty-print obj [port])
  (define (pretty-print obj . opts))

  (export (pretty-print))

@justinethier
Copy link

For what it's worth, husk uses a similar interface to a pretty-printer. You might be able to port this code over:

https://github.com/justinethier/husk-scheme/blob/master/lib/husk/pretty-print.sld
https://github.com/justinethier/husk-scheme/blob/master/lib/husk/pp-sexp.scm

@nyuichi
Copy link
Member

nyuichi commented Apr 2, 2014

@justinethier

Thank you for your advice! I will import from husk-scheme probably with some small modifies.

@justinethier
Copy link

@wasabiz - No problem, hope it helps you out...

@nyuichi
Copy link
Member

nyuichi commented Jul 16, 2014

fixed in cf4404d

@nyuichi nyuichi closed this as completed Jul 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants