from The only thing I hate in purescript and haskell - imports (discussion)
let’s vote again, a lot is updated
additional poll points are encouraged
Poll 1 (Imports qualification by package name)
- all imports should be qualified (as in proposal)
- imports should be optionally qualified
- I dont need qualification (as is)
0 voters
Poll 2 (Module name)
- module names should be derived from path automatically (as in proposal)
- module names should be user-defined (as is)
0 voters
Poll 3 (Relative imports)
- I need relative imports
- I don’t need relative imports
0 voters
Poll 4 (Domain name @githubusername/packagename
for packages in pursuit.purescript.org)
- Domain name should be enforced for all packages in pursuit.purescript.org (proposal)
- Domain name should be optional in pursuit.purescript.org (as npm does this)
- We don’t need packages (as is)
0 voters
P.S. We don't need packages
should be We don't need domain name in package names (as is)
Poll 5 (Domain name @githubusername/packagename
for packages in code)
- I am fine with seeing domain name in code (e.g.
import "@githubusername/packagename/foo"
) - I am NOT fine with seeing domain name in code (e.g.
import "packagename/foo"
)
0 voters
Poll 6 (import style)
import from "@me/halogen-examples" Data.001-Halogen-Example
import "@me/halogen-examples/001-halogen-example"
import @me/halogen-examples/001-halogen-example
0 voters
P.S. import from "@me/halogen-examples" Data.001-Halogen-Example
should be import "@me/halogen-examples" Data.001-Halogen-Example