TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Haskell IHP framework, from a technical and business perspective

95 点作者 _query超过 3 年前

7 条评论

leetrout超过 3 年前
I tried Haskell a decade ago and gave up pretty quick due to some of the stereotypical reasons.<p>I really like this test file the author linked to for a great example of what &quot;real&quot; haskell can look like.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Gizra&#x2F;ihp-simple-seat-reservation&#x2F;blob&#x2F;main&#x2F;Test&#x2F;Controller&#x2F;ReservationsSpec.hs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Gizra&#x2F;ihp-simple-seat-reservation&#x2F;blob&#x2F;ma...</a><p>I&#x27;m interested in other &quot;pragmatic&quot; haskell sources &#x2F; tutorials that lose the ego &#x2F; pretentiousness and demonstrate Getting Stuff Done™... any recommendations?
评论 #29188929 未加载
评论 #29187992 未加载
评论 #29195257 未加载
评论 #29188843 未加载
评论 #29188172 未加载
评论 #29192510 未加载
phaer超过 3 年前
I am confused, the text says:<p>&gt; The subject of the mail will change based on the status of the Reservation. With the type system in place, the compiler makes sure we that do not forget any possible case.<p>But the [linked code](<a href="https:&#x2F;&#x2F;github.com&#x2F;Gizra&#x2F;ihp-simple-seat-reservation&#x2F;blob&#x2F;f9a9c57eec8f02526beb24201d3125025a23e69b&#x2F;Web&#x2F;Mail&#x2F;Reservations&#x2F;Confirmation.hs#L12-L18" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Gizra&#x2F;ihp-simple-seat-reservation&#x2F;blob&#x2F;f9...</a>) seems to include a wildcard clause which would just set the subject to an empty string. Am I missing something?
评论 #29187844 未加载
dustingetz超过 3 年前
The web framework landing page: <a href="https:&#x2F;&#x2F;ihp.digitallyinduced.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ihp.digitallyinduced.com&#x2F;</a>
tromp超过 3 年前
Is it possible to use IHP without installing Nix? I already have brew as general package manager and ghcup&#x2F;cabal as Haskell toolchain&#x2F;library manager and dread having yet another package manager that might interfere...
评论 #29187904 未加载
评论 #29188779 未加载
评论 #29188959 未加载
cosmic_quanta超过 3 年前
I learned a lot about building Haskell web apps by studying the following source code:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;restyled-io&#x2F;restyled.io" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;restyled-io&#x2F;restyled.io</a>
yumraj超过 3 年前
There may not be an easy answer, but could someone opine on how a Haskell&#x2F;IHP based web application would compare with Elixir&#x2F;Phoenix based solution.<p>I&#x27;m primarily interested in Haskell vs Erlang&#x2F;Elixir comparison rather than IHP vs Phoenix, since I&#x27;m aware that Phoenix may be more featured at the moment.
评论 #29195557 未加载
lngnmn2超过 3 年前
It is useless to say, but Haskell is a modeling and domain language, it is a sunset of math and highly sugared logic.<p>The proper place if Haskell code is Fastcgi and batch processing.<p>It should FFI everything infrastructure related and should be called by nginx or whatever.<p>Using it as a Java EE with monads is plain, well, let&#x27;s say &quot;over-engineering&quot;.
评论 #29190679 未加载
评论 #29197264 未加载
评论 #29191389 未加载