One possibility:

$ ( echo '(define (foo x) (+ x 1))' ; cat ) | csi -:c
#;1> #;2> (foo 3)
4

On Jan 20, 2014, at 7:41 PM, Quint Guvernator <[email protected]> wrote:

> Hello All,
> 
> I am not subscribed to this list, so please CC me if you respond.
> 
> I am trying to find a way to keep the chicken scheme interpreter open
> even after it finishes running my input file (via a unix pipe) so I
> can play with the functions I define in the interpreter. Is there a
> simple solution?
> 
> Cheers,
> Quint
> 
> _______________________________________________
> Chicken-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/chicken-users


_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to