今や、よく目にする関数型言語と言う言葉。実際、どういうものなの? 関数型言語つかってみたんだけどわけわかんない! なんどやっても挫折するけど今度こそ! 関数型言語を使う同士達よ集まれ! みたいな勉強会です。
====================================
class VCL | |
attr_accessor :resp, :beresp, :req, :bereq, :import, :obj, :client | |
def initialize | |
@resp = nil | |
@beresp = nil | |
@req = nil | |
@bereq = VCL::HTTP.new | |
@import = nil |
Varnish::VCL.init(something) do | |
VCL.return VCL::OK | |
end | |
Varnish::VCL.pass(something)do | |
end | |
Varnish::VCL.deliver() do | |
end | |
Varnish:VCL.ban() do |
好きなアニメ当てるまで帰れま10 | |
ガンスリンガーガール | |
キューティクル探偵因幡 | |
ラストエグザイル | |
未確認で進行形 | |
ダンタリアンの書架 | |
人類は衰退しました | |
神さまのいない日曜日 | |
サカサマのパテマ | |
流星のロックマン |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "mruby.h" | |
#include "mruby/compile.h" | |
mrb_value mrb_f(mrb_state *mrb,mrb_value self) | |
{ | |
mrb_value v; |
import Data.Char | |
main :: IO () | |
main = print $ foldl1 (+) ( map ord ['\NUL'..'\n']) |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Hello struct { |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Hello struct { | |
a int `hello world` | |
} |
package main | |
import ( | |
"fmt" | |
"go/parser" | |
) | |
func main() { | |
d := parser.AllErrors + parser.SpuriousErrors + parser.ParseComments | |
e := d + parser.PackageClauseOnly |
[1 of 7] Compiling Control.Lens.Util.TH ( src/Control/Lens/Util/TH.hs, dist/dist-sandbox-f2c360e3/build/Control/Lens/Util/TH.o ) | |
src/Control/Lens/Util/TH.hs:23:10: | |
Not in scope: data constructor ‘ClassP’ | |
Perhaps you meant one of these: | |
‘ClassD’ (imported from Language.Haskell.TH), | |
‘ClassI’ (imported from Language.Haskell.TH), | |
variable ‘classP’ (imported from Language.Haskell.TH) | |
src/Control/Lens/Util/TH.hs:23:25: |