Liking cljdoc? Tell your friends :D

sem.core

Helper functions for performing semester calculations on BYU's semester/term schedule

Helper functions for performing semester calculations on BYU's semester/term schedule
raw docstring

absclj/s

(abs x)

absolute value

absolute value
sourceraw docstring

add-ytclj/s

(add-yt ytstring x)

Add ytstring with x, coming up with a valid semester. e.g. (+ "20191" 5) is "20203", and (+ "20191" -1) is ("20185")

Add `ytstring` with `x`, coming up with a valid semester.
e.g. (+ "20191" 5) is "20203", and (+ "20191" -1) is ("20185")
sourceraw docstring

dec-ytclj/s

(dec-yt yt)

Taking a yt string, increment it appropriately and return a map. Skip 2, wrap at 5.

Taking a yt string, increment it appropriately and return a map. Skip 2, wrap at 5.
sourceraw docstring

gen-yt-textclj/s

(gen-yt-text yt)

Take a yt string (20155) and return text ("Fall, 2015")

Take a yt string (20155) and return text ("Fall, 2015")
sourceraw docstring

get-termclj/s

(get-term yt)

Get the term digit from a 5-digit yt

Get the term digit from a 5-digit yt
sourceraw docstring

get-yearclj/s

(get-year yt)

Get the 4-digit year from a 5-digit yt

Get the 4-digit year from a 5-digit yt
sourceraw docstring

inc-ytclj/s

(inc-yt yt)

Taking a yt string, increment it appropriately and return a map. Skip 2, wrap at 5.

Taking a yt string, increment it appropriately and return a map. Skip 2, wrap at 5.
sourceraw docstring

parse-intclj/s

source

semester-indexclj/s

source

TERM-NAMESclj/s

source

TNUMclj/s

source

wrap-aroundclj/s

(wrap-around v x)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close