View sbt-sonatype.md

+ で全バージョン一気にやって欲しい

> + sonatypeRelease
[info] Setting version to 2.12.4
[info] Reapplying settings...
[info] Set current project to http-mock (in build file:/home/maiha/git/maiha/http-mock/)
[info] Nexus repository URL: https://oss.sonatype.org/service/local
[info] Reading staging repository profiles...
[error] Multiple repositories are found:
View b.union.md

implementation

enum Pcap::NextError
  EOF     = -2 # EOF or pcap_breakloop
  ERROR   = -1 #
  TIMEOUT =  0 # should be continued
end

class Pcap::Capture
View 銀座のランチ.md

アタックリスト

  • 牛庵(別)
  • びっくりうどん
  • 親子丼(◯勝)
  • 天丼(インズ)
  • 韓国料理(検校)
View generics-inheritance-error.cr
module Core
end
class Base(T)
include Core
end
class Foo < Base(String)
end
View 1.value-and-exception.cr
def parse(str)
JSON.parse(str)
end
pp parse("1") # => 1
pp parse("x") # raise JSON::ParseException
begin
v = parse("1")
# use v
View generics-problem-min.cr
module Core(T)
@a : Bool
end
class Base(T)
include Core(Int32)
def initialize
@a = true
end
View test.cr
class Changeset(T)
def initialize(@instance : T)
end
end
module Cset(T)
def changeset(instance)
Changeset(T).new(instance)
end
end