Pinned Loading
-
-
HTML element class manipulations in ...
HTML element class manipulations in Clojurescript (no jQuery) 1(defn classes-of
2"Get the classes of an element as a Clojure keyword vector."3[e]
4(let [words (-> e (.getAttribute "class") (string/split " "))]
5(mapv keyword words))) -
Clojure atoms, in Scala
Clojure atoms, in Scala 1/*------------------------------------------------------------------------------2* MIT License3*4* Copyright (c) 2017 Doug Kirk5* -
Fast Luhn credit card check in Scala
Fast Luhn credit card check in Scala 1final object Luhn {
2/** An O(1) Map[Int, Int] of precomputed double values. */3private[this] final val doubles = Array(0, 2, 4, 6, 8, 1, 3, 5, 7, 9)
45/**
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.




