Re: [racket-users] unread-char

2016-01-28 Thread Robby Findler
Also perhaps worth noting: make-peeking-input-stream.

Robby

On Thursday, January 28, 2016, Jay McCarthy  wrote:

> I suggest using peek-char
>
> Jay
>
> On Thu, Jan 28, 2016 at 6:06 PM, jon stenerson  > wrote:
> > Some languages have stream libraries with a function to put stuff back
> into
> > an input stream, like Common Lisp's unread-char, or C++
> istream::putback. Is
> > there anything like that in Racket?
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to racket-users+unsubscr...@googlegroups.com .
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Jay McCarthy
> Associate Professor
> PLT @ CS @ UMass Lowell
> http://jeapostrophe.github.io
>
>"Wherefore, be not weary in well-doing,
>   for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>   - D&C 64:33
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] unread-char

2016-01-28 Thread Jay McCarthy
I suggest using peek-char

Jay

On Thu, Jan 28, 2016 at 6:06 PM, jon stenerson  wrote:
> Some languages have stream libraries with a function to put stuff back into
> an input stream, like Common Lisp's unread-char, or C++ istream::putback. Is
> there anything like that in Racket?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] unread-char

2016-01-28 Thread jon stenerson
Some languages have stream libraries with a function to put stuff back 
into an input stream, like Common Lisp's unread-char, or C++ 
istream::putback. Is there anything like that in Racket?


--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.