hi,
I was hoping yesterday to read UTF-16 characters from a file using, e.g., a
small snippet such as the following:
(for ([c (in-port read-char (open-input-file "myfile.txt"))]
[counter naturals]
#:break (>= counter 100))
(printf "(~a [~a]) " c (char->integer c)))
For a UFT-16
I also like to thank you all for the same things (and all the rest).
I see a big future for Racket unfolding more and more everyday.
Lux
> since complaints about bugs are probably more common than compliments about
> smooth experiences, I just wanted to say thank you to whomever designed the
On Fri, Nov 13, 2015 at 9:45 AM, Tim Hanson wrote:
> hi,
>
> I was hoping yesterday to read UTF-16 characters from a file
I think you need reencode-input-port.
> p.s. maybe there's an easier way to get an arbitrary counter than what i did
> here?
>
> (define
At Thu, 12 Nov 2015 19:11:28 +0300, Dmitry Pavlov wrote:
>
> > The more interesting thing is that the 'longdouble.dll' is not put
> > into the runtime directory by 64-bit Racket, too. Still, the 64-bit
> > program works without any additional effort.
>
> Oops, sorry, I just checked again, the
I've pushed a change that may solve this problem.
The change was to the way that `--runtime` determines a shared path
prefix among runtime files, so that it can copy them to a new place but
keep relative paths intact. On Windows, the paths being compared were
sometimes normalized with
Oh, interesting. There's several new things in there for me to explore. Thank
you. (And nice Beatles reference.)
If you don't mind explaining -- what are the trade-offs between this approach
and using the arg parsing features of racket/cmdline?
Thanks,
Christopher
--
You received this
Glad to hear you got this far. Consider using something like this:
#! /bin/sh
#|
exec racket -tm "$0" ${1+"$@"}
|#
#lang racket
(provide
main)
(define main
(case-lambda
[(the-mandatory-argument . others)
(displayln
`(the-mandatory-argument:
I second all this with all my heart. Programming with Racket/DrRacket is a
complete delight, and indeed the plot lib in particular is just marvel.
Thanks to you all for making this possible.
On Fri, Nov 13, 2015 at 9:17 AM, Lux wrote:
> I also like to thank you all for the
8 matches
Mail list logo