pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/hs-husk-scheme



Module name:    wip
Committed by:   szptvlfn
Date:           Thu Mar 13 12:14:01 UTC 2014

Modified Files:
        wip/hs-husk-scheme: Makefile buildlink3.mk distinfo

Log Message:
Update to 3.16.1

ChangeLog:
v3.16.1
--------

- Allow import of a library in the same directory as a program. For example to 
import `lib.sld`:

        (import (lib))

Bug Fixes:

- Husk no longer throws an error during expansion of a library macro that
  references another macro which is not exported from the same library.
- Fixed a bug where a `syntax-rules` macro's literal identifier would not
  match the input when both identifiers are equal and both have no
  lexical binding.

v3.16
--------

- Improved import of libraries:

  - Husk now detects cyclic dependencies and throws an error instead of going
    into an infinite loop.
  - Each library is only evaluated once during the import process.

- `begin` now has the ability to evaluate contained expressions and definitions
  as if the enclosing `begin` were not present, per R7RS. For example:

        huski> x
        Getting an unbound variable: x
        huski> (begin (define x 28) x)
        28
        huski> x
        28

- Added the following R7RS I/O functions: 

    - `get-output-bytevector`
    - `get-output-string`
    - `open-input-bytevector`
    - `open-input-string`
    - `open-output-bytevector`
    - `open-output-string`
    - `read-string`
    - `write-string`

- Added an `-i` command line option to `huski`. This option will start the
  interactive REPL after a file specified on the command line is executed,
  and has no effect if no file is specified.

Haskell API:

- The `Port` data type has been extended to include an optional in-memory 
buffer:
 
        Port Handle (Maybe Knob)

  These changes are isolated in husk, but if your code uses any `Port`
  constructors, you would need to change them, EG: `Port _ Nothing`.


To generate a diff of this commit:
cvs -z3 rdiff -u -r1.3 -r1.4 wip/hs-husk-scheme/Makefile \
    wip/hs-husk-scheme/buildlink3.mk wip/hs-husk-scheme/distinfo

To view a diff of this commit:
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-husk-scheme/Makefile?r1=1.3&r2=1.4
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-husk-scheme/buildlink3.mk?r1=1.3&r2=1.4
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/hs-husk-scheme/distinfo?r1=1.3&r2=1.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs


Home | Main Index | Thread Index | Old Index