memesearch
F# Custom Operator Shenanigans

F# Custom Operator Shenanigans

Download Find similar pictures
Text on the meme
In F# I can define a function like this let (<+>) x y = x + y and call like this let z = 5 <+> 6 I can even do something like this let (<+++>) x y z = x y z let p = (((fun x -> fun y -> x + y) <++> 5) 6
What it means

Кодовый мем о F#, где программист определяет собственные операторы и использует их для необычного вызова функций. Шутка в том, что синтаксис F# позволяет сделать обычное сложение и даже применение функций похожими на магическую операторную конструкцию. EN: A coding meme about F#, where the programmer defines custom operators and uses them for unusual function calls. The joke is that F# syntax lets ordinary addition and even function application look like magical operator syntax.

Objects
Tags
Source
Type
image
Size
361×282 · 14.2 KiB
Mood
nerdy, absurd
Language
en
Added