-
Notifications
You must be signed in to change notification settings - Fork 359
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
API Ideas #322
Labels
Comments
This was referenced Aug 2, 2015
This was referenced Aug 23, 2015
When thinking about what is in core, here is a good way to organize it:
As you can see, there are no networking modules left in core. Http and Websocket were removed after 0.15, when their APIs were migrated to use Tasks instead of Signals. |
This was referenced Sep 11, 2015
Closed
evancz
changed the title
WIP: collecting API ideas from other issues
Organizing API Ideas
Aug 16, 2016
This was referenced Sep 22, 2016
This was referenced Sep 22, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is for organization. Open a separate issue for your particular idea.
This is a collection of API ideas that have sprouted up as folks have used core. It is not an invitation to do a free for all of changes. I am just collecting the most promising ideas in one place so that we can assess them all together in a coherent way.
Primitives
Number.toFixed
toString
Never -> a
functionData Structures
List.singleton
Dict.keys
return aSet
Array.remove
Array.update
Array.get
andArray.set
Array.slice 3 0
take until the end of the arrayList.append
Maybe and Result
Result.formatError
toResult.mapError
to matchTask.mapError
Maybe
andResult
in APIsMaybe.isNothing
#164 - addMaybe.isNothing
Json
Encode.dict
Tasks
Task.parallel
- Add Task.parallel #223andThen
so backticks can be removed - threadTime.utcOffset
- Add utcOffset compiler#705, Date missing UTC getters #486Process.sleep
toTask.sleep
- Relocate or redirectsleep
function? #693The text was updated successfully, but these errors were encountered: