case-when に似せて case-in を考えている。
case [0, [1, 2, 3]]
in [0, [a, 2, b]]
p a # => 1
p b # => 3
end
case-when に似せて case-in を考えている。
case [0, [1, 2, 3]]
in [0, [a, 2, b]]
p a # => 1
p b # => 3
end
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.