How to sleep in Gleam?
I need to suspend a thread (or process) for a specific duration. In other languages like Python or JavaScript, this can be achieved using time.sleep()
or setTimeout()
, respectively.
How to import only type constructor in Gleam?
I want to import a type constructor, but not a type itself.
Is it possible to import a record in an unqualified way?
Is it possible to import a record in an unqualified way? For example: