[plt-scheme] patch: string->xexpr

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jun 22 15:46:30 EDT 2009

Added to SVN.

Jay

On Sat, Jun 13, 2009 at 1:58 PM, troels knak-nielsen<troelskn at gmail.com> wrote:
> No sure if this is the right place, but I was looking in vain for
> `string->xexpr`. It might be useful to add it to
> `collects/xml/private/xexpr.ss`
>
>    (define (string->xexpr str)
>      (xml->xexpr (read-xml/element (open-input-string str))))
>
>    (provide/contract
>      [string->xexpr (string? . -> . xexpr/c)])
>
> --
> troels
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.