Skip to content

A simple crate that implements the supermemo2 spaced repetition algorithm.

License

Notifications You must be signed in to change notification settings

joshua-cooper/supermemo2-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

supermemo2

This crate implements the core components of the supermemo2 spaced repetition algorithm.

Examples

use supermemo2::Item;

pub fn main() {
    let item = Item::default();
    let interval = item
        .review(4)
        .unwrap()
        .review(3)
        .unwrap()
        .review(5)
        .unwrap()
        .interval();

    assert_eq!(interval, 15);
}

About

A simple crate that implements the supermemo2 spaced repetition algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages