Sha256: ad6f3d7aa85e28b59417069fe5b6547d3181590f34bad8044ff2aec6f1d16757

Contents?: true

Size: 238 Bytes

Versions: 396

Compression:

Stored size: 238 Bytes

Contents

;;; binary.el --- Binary exercise (exercism)

;;; Commentary:

;;; Code:

(defun to-decimal (binary-string)
  "Convert BINARY-STRING to a decimal integer."
  (string-to-number binary-string 2))


(provide 'binary)
;;; binary.el ends here

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.118 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.117 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.116 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.115 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.114 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.113 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.111 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.110 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.109 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.108 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.107 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.106 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.105 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.104 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.103 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.102 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.101 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.100 tracks/elisp/exercises/binary/example.el
trackler-2.2.1.99 tracks/elisp/exercises/binary/example.el