Sha256: f214d2182baa520577af79b7c1eca0e6962c06e0c0db55f239e04a7cb7e296e3
Contents?: true
Size: 680 Bytes
Versions: 113
Compression:
Stored size: 680 Bytes
Contents
Load the test file into your running Lisp implementation, for example, `(load "point-mutations-test")`. This will run the tests the first time automatically. After that you can run the test suite in the REPL with `(lisp-unit:run-tests :all :point-mutations-test)`. ## Making your first Common Lisp solution To create lisp code that can be loaded with `(load "dna")` for the first exercise, put this code in `dna.lisp`: ```lisp (in-package #:cl-user) (defpackage #:dna (:use #:common-lisp) (:export #:hamming-distance)) (in-package #:dna) (defun hamming-distance (dna1 dna2) "Determine number of mutations between DNA strands by computing the Hamming Distance." ) ```
Version data entries
113 entries across 113 versions & 1 rubygems