Sign in

    examine

    Download zip
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    10 months ago
    Downloads
    28

    No dependencies

    #emadurandal/examine

    ExamResult

    pub(all) enum ExamResult {
    Pass
    Fail
    }

    impl Eq for ExamResult
    impl Show for ExamResult

    Student

    pub(all) struct Student {
    id : String
    score : Double
    }

    count_qualified_students

    fn count_qualified_students(students : Array[Student], is_qualified : (Student) -> ExamResult) -> Int

    fib

    fn fib(n : Int) -> Int64

    is_qualified

    fn is_qualified(student : Student, criteria : Double) -> ExamResult

    sum

    fn sum(data~ : Array[Int], start? : Int, length? : Int) -> Int

    data is a labelled argument without default value having type Array[Int] start is an optional labelled argument with default value 0 having type Int length is an optional labelled argument without default value having type Option[Int]

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io