Sha256: 84fbcef3ff46bb43c575fbee4493002e69c5187cc7a49f20a9381637b3f19416

Contents?: true

Size: 320 Bytes

Versions: 396

Compression:

Stored size: 320 Bytes

Contents

(defmodule gigasecond
  (export (from 1)))

(defun gigasecond () 1000000000)

(defun from
  ([`#(,year ,month ,day)]
   (from `#(#(,year ,month ,day) #(0 0 0))))
  ([datetime]
   (let ((seconds (calendar:datetime_to_gregorian_seconds datetime)))
     (calendar:gregorian_seconds_to_datetime (+ seconds (gigasecond))))))

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.97 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.96 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.95 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.94 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.93 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.92 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.91 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.90 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.89 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.88 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.87 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.86 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.85 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.84 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.83 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.82 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.81 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.80 tracks/lfe/exercises/gigasecond/src/example.lfe
trackler-2.2.1.79 tracks/lfe/exercises/gigasecond/src/example.lfe