On Wed, Oct 26, 2016 at 3:46 PM, Ryan Gardner <rwgard...@gmail.com> wrote:
> Oh, Main
>
> import Main.foo


import ..foo

>
> Thanks.
>
>
> On Wednesday, October 26, 2016 at 3:27:50 PM UTC-4, Ryan Gardner wrote:
>>
>> say I have code:
>>
>>
>> type foo
>>    a
>> end
>>
>> module MyModule
>>    #how do I use foo here?
>>    #can I
>>    import <something>.foo
>>    #??
>> end
>>
>> There must be a way to use global types in modules.  Is there a name for
>> the "global module" (if you will).  Thanks.
>>
>

Reply via email to