冲突进口
问题描述:
我可以在Haskell冲突进口
运行这段代码module Foo where
test = 1
module Bar where
test = 2
module Main where
import Foo
import Bar
main = print "test"
但PureScript编译器返回一个错误
相互矛盾模块的酒吧和Foo
测试进口这是一个错误?
我可以在Haskell冲突进口
运行这段代码module Foo where
test = 1
module Bar where
test = 2
module Main where
import Foo
import Bar
main = print "test"
但PureScript编译器返回一个错误
相互矛盾模块的酒吧和Foo
测试进口这是一个错误?
我认为这是由设计,但如果您发布此编译器问题清单上,你可能会得到更详细的回应。 –