What is the output? What is the *expected* behavior?

On Tue, Oct 26, 2010 at 1:32 PM, Matt Rice <[email protected]> wrote:

> haven't been able to figure this one out, but
> has something to do with nesting of bad hygenic imports
> and possibly the stdio interface being imported globally
> with and its importing list as lst.
>
> bitc version 0.11
> import bitc.main as main
> import bitc.stdio //as stdio
> import bitc.list //as lst
> provide bitc.main main
>
>
> def main.main(argv: string[]) = {
>    let x = cons("using lst.* and stdio.* when importing list and
> stdio to global scope\n", nil) in
>      lst.map(lambda(s) {
>                stdio.write_string(stdio.stdout, foo.car(cons(s, nil)))
>              }, x)
>    0:int32
> }
> _______________________________________________
> bitc-dev mailing list
> [email protected]
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
>
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to