Skip to content

JIK STEM navigation

aegwenia/jik/hidden-foundation-report

Frontier Unlock 180 Ideal 195 CC0 1.0

Hidden inputs: recursion and classification

A complete private-case example combining branching, abs, and tail recursion.

Acquire to open

Theory, examples, assessment, and private test answers stay inside the acquired repository copy.

Log in to acquire

Public source

Released under CC0 by the five-year publication rule.

(begin
  (define (triangular n acc)
    (if (= n 0) acc (triangular (- n 1) (+ acc n))))
  (define (foundation-report value limit)
    [(cond [(< value limit) .below]
           [(= value limit) .equal]
           [else .above])
     (triangular (abs value) 0)]))