New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a-b.hs 这类文件名在 import 时怎样处理? by jiyinyiyong #125

Open
freizl opened this Issue Apr 30, 2018 · 5 comments

Comments

Projects
None yet
1 participant
@freizl
Member

freizl commented Apr 30, 2018

本地试了下引用不到?

不知道哪里有明确的 import 如何使用的文档, 总觉得这块设计得挺含糊的.

@freizl freizl added the migration label Apr 30, 2018

@freizl

This comment has been minimized.

@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

不会google吗

@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

我以为文件名写清楚够了... 那个答案我看过, 对于 a.hs 那样的文件名没有问题.
但是上边带了 - 之后处理的方式就不一样, 模块明当中又是不让带 - 的.
所以我问的是文件名带 - 的时候 Haskell 是怎么处理的?
Google 看了几个答案, 都没提, 只好问了.

@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

我觉得这应该是规定吧,你为啥不用

  • A_B.hs
  • A/B.hs
@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

因为没看到明确的规定... 如果看到文档写了就不会问了呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment