Skip to content

mtakuya/gauche-memo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

NAME
    This is Gauche module memo(memoizing macro).

VERSION
    0.0.1

INSTALLATION
    1. memo.scm add copy to *load-path* directory.

SYNOPSIS
    (use memo)
    (define-memo (fib n)
        (if (< n 2)
            n
            (+ (fib (- n 1)) (fib (- n 2)))))
    (time (fib 30))
    (time (fib 30))

AUTHOR
    Takuya Mannami <[email protected]>

About

Gauche module - Memoizing macro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages