TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OCaml 4.03: Everything else

177 pointsby yminskyabout 9 years ago

10 comments

mellingabout 9 years ago
I recently started to learn OCaml. This blog post convinced me that it was worth learning:<p><a href="http:&#x2F;&#x2F;roscidus.com&#x2F;blog&#x2F;blog&#x2F;2014&#x2F;02&#x2F;13&#x2F;ocaml-what-you-gain&#x2F;" rel="nofollow">http:&#x2F;&#x2F;roscidus.com&#x2F;blog&#x2F;blog&#x2F;2014&#x2F;02&#x2F;13&#x2F;ocaml-what-you-gain...</a><p>I&#x27;m putting my notes on github, in case anyone wants a head start.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;melling&#x2F;ComputerLanguages&#x2F;blob&#x2F;master&#x2F;ocaml.org" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;melling&#x2F;ComputerLanguages&#x2F;blob&#x2F;master&#x2F;oca...</a>
GreaterFoolabout 9 years ago
I really hope modular implicits will make it to the language one day. While OCaml libraries are no stranger to monads they usually only include `bind` and `return`.<p>Since I&#x27;m coming from Haskell I&#x27;m used to a vast Applicative and Monad vocabulary and making do with just `bind` and `return` is rather painful. So having a generic library of Monad combinators that one could use with any Monad would be great. Also, being able to just write `show x` is so nice!<p>Edit: while I often see &quot;modular implicits are being worked on&quot; it is not very clear whether there is a concrete plan to add them to the language. Is there any place in the official OCaml repository &#x2F; issue tracking system &#x2F; wiki etc where one could check the status?
评论 #11209423 未加载
评论 #11208826 未加载
评论 #11212343 未加载
评论 #11210190 未加载
e_d_g_a_rabout 9 years ago
For anyone looking for an OCaml quick start: <a href="http:&#x2F;&#x2F;hyegar.com&#x2F;2015&#x2F;10&#x2F;20&#x2F;so-youre-learning-ocaml&#x2F;index.html" rel="nofollow">http:&#x2F;&#x2F;hyegar.com&#x2F;2015&#x2F;10&#x2F;20&#x2F;so-youre-learning-ocaml&#x2F;index.h...</a>
xvilkaabout 9 years ago
And here is the pending effort for better experience of OCaml on Windows: <a href="https:&#x2F;&#x2F;github.com&#x2F;ocaml&#x2F;opam&#x2F;issues&#x2F;2191" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ocaml&#x2F;opam&#x2F;issues&#x2F;2191</a>
评论 #11208759 未加载
评论 #11208528 未加载
BWStearnsabout 9 years ago
If I were already sold on using Haskell or OCaml for a new project, what would be the big seller for OCaml being the choice? I haven&#x27;t dug into SML or OCaml and I&#x27;m not expert with Haskell yet but from looking at them they don&#x27;t <i>look</i> substantially distant from Haskell.
评论 #11208232 未加载
评论 #11208474 未加载
评论 #11208188 未加载
评论 #11210109 未加载
评论 #11208480 未加载
评论 #11209458 未加载
catnaroekabout 9 years ago
Still no support for threads running in parallel? I guess things didn&#x27;t go well: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9582980" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9582980</a>
评论 #11208239 未加载
评论 #11208426 未加载
doomroboabout 9 years ago
Could anyone explain ephemerons further, maybe with examples? It seems really interesting.
评论 #11209474 未加载
zerosignabout 9 years ago
how about SMT support for ocaml(multicore) ? Could it catch up to the current implementation (HEAD) or it&#x27;s still in the process of moving its implementation ?
agentgtabout 9 years ago
I wonder if this change will have any impact on multicore OCaml (given the reduction of allocation)? I don&#x27;t know the internals of OCaml that well but multicore support has been my BS reason for not embracing OCaml albeit Mirage is looking better and better every day.
3327about 9 years ago
Basically JaneStreet realized its a tough time maintaining the repo if they are the only ones using it.
评论 #11208695 未加载