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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Functional Programming Jargon

359 点作者 charliejrgower超过 7 年前

18 条评论

nicolast超过 7 年前
May be worth to mention a 'Functor' in OCaml is a different kind of beast than the 'Functor' explained in this article (which is ~ the Haskell Functor type-class).
评论 #15642441 未加载
评论 #15644079 未加载
reborg超过 7 年前
I assume @hemanth is happy for the project README to appear on the blog of a recruitment agency. Along with the rest of the blogs that seem to be copy pasted from the original location. Should I guess functional-works obtained permission from all the original copyright holders?
评论 #15641958 未加载
评论 #15642132 未加载
评论 #15641953 未加载
jw-超过 7 年前
I think the jump from &#x27;Category&#x27; to &#x27;Value: Anything that can be assigned to a variable.&#x27; was a somewhat jarring change in abstraction level.<p>Also, trying to explain Monad, Comonad, or Applicative as &#x27;jargon&#x27; is probably a step too far IMO. They are not important for getting started with FP, and describing them without their equational properties is kind of meaningless.<p>That being said I liked alot of the inclusions; partial application, closure, composition. I think the collection is probably slightly guilty of trying to be too clever by including advanced concepts.
评论 #15643822 未加载
评论 #15648599 未加载
jefozabuss超过 7 年前
Found two bugs with the page (in case a developer is reading this thread)<p>I clicked on any topic in the list and it just scrolled me to the top of the page. (Mac OS + Chrome latest &#x2F; Safari latest)<p>Also if you refresh the page with a url which has a #link in it it will reload with an empty-ish content.
评论 #15643022 未加载
KevanM超过 7 年前
The contents links all go back to the top of the page.
评论 #15642506 未加载
spion超过 7 年前
&gt; Lifting is when you take a value and put it into an object like a functor.<p>It should probably say:<p>&gt; Lifting is when you take a function and make a version of it that operates on functors &#x2F; applicatives.
评论 #15658172 未加载
dualogy超过 7 年前
&gt; <i>&quot;Since these rules govern composition at very abstract level, category theory is great at uncovering new ways of composing things.&quot;</i><p>I understood this much already prior. What I&#x27;d like next now are at least a handful (half-dozen-or-so) of concrete and truly compelling examples of such &quot;uncoverings&quot; ;)<p>OK, 1 or 2 would also be a start
评论 #15648939 未加载
moomin超过 7 年前
Gotta love it when “Category Theory for Programmers” is provided as a further reading link on a very introductory article.
评论 #15641917 未加载
评论 #15641962 未加载
mihau超过 7 年前
Does anyone know of similar github repos &#x2F; websites that describe things (does not have to be fp) by providing code &#x2F; math examples ?
评论 #15656397 未加载
评论 #15648764 未加载
tempodox超过 7 年前
Page doesn&#x27;t display in Kindernet Exploder. All you see is a header and a footer and no content inbetween.
评论 #15643033 未加载
评论 #15643156 未加载
have_faith超过 7 年前
Loved the concise explanations of the What. A nice extension of this would be the Why, something I usually struggle to understand. Currying as an example, I&#x27;m none the wiser as to why it&#x27;s a preferable way of composing a function and it&#x27;s arguments, or when either is applicable.
评论 #15644700 未加载
评论 #15644389 未加载
评论 #15658229 未加载
评论 #15643836 未加载
maxpert超过 7 年前
It&#x27;s interesting how simple and understandable now these concepts are with JS. I couldn&#x27;t imagine a language written in 7 days ending up with ability to handle all this.
评论 #15647656 未加载
评论 #15648770 未加载
zumu超过 7 年前
Anyone have any insight as to why they call `bind&#x2F;flatmap` `chain` instead of just `flatmap` (given `bind` is already taken in JS)?
评论 #15648171 未加载
kentosi超过 7 年前
Really nice.<p>Small suggestion: It would be really nice if the table of contents allowed me to click to the section itself.
dfabulich超过 7 年前
My biggest request would be to add &quot;map&quot; to the list, precisely because it&#x27;s ambiguous. It could mean:<p>1) any key&#x2F;value data structure<p>2) a hashmap, specifically<p>3) a function that runs on each element of an array to make a new array
评论 #15647578 未加载
评论 #15647513 未加载
tedmiston超过 7 年前
Looks like the article on Works Hub was copied &amp; pasted from the original source on GitHub, as others have mentioned in subthreads. Would be great if we could update the article link to the primary source to give the many contributors credit.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hemanth&#x2F;functional-programming-jargon" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hemanth&#x2F;functional-programming-jargon</a>
评论 #15647079 未加载
评论 #15644997 未加载
评论 #15645444 未加载
评论 #15644602 未加载
xelxebar超过 7 年前
I know this is off topic, but I <i>really</i> wish pages wouldn&#x27;t hide content behind JavaScript. The page I see would work just as well as just HTML with a little CSS styling.
评论 #15642945 未加载
评论 #15642914 未加载
alphaalpha101超过 7 年前
Correction: Haskell jargon. The continued conflation of Haskell and functional programming as a whole annoys me greatly. (The majority of functional programming is not statically typed! Clojure and the other lisps are far more widely used than Haskell and the MLs, not even to mention that basically every language has first-class functions now.)
评论 #15643608 未加载