News for hackers. Stuff that matters.
Re:Hurl, the Exceptional Language by BoppreH on Sunday May 26, 2024 @08:16AM (#40481589)
This also allows one to pass parameters to `foo.init()`, something you cannot do with naked imports.
Re:Hurl, the Exceptional Language by Joker_vD on Sunday May 26, 2024 @08:51AM (#40481777)

    import foo(42, FULL_OF_EELS) as foo

    -:1:8: E0012: Initializer of module "foo" has 3 arguments, 2 were provided.
Re:Hurl, the Exceptional Language by endofreach on Sunday May 26, 2024 @04:33PM (#40485151)
In case we're still in the design phase of the language, named arguments would help around that (coupled with a good IDE)... but yeah, probably i agree with how i interpret your comment.

Shouldn't be like how parent proposed imports work. Would lead to too much pain.