croq-app/elm-climb - version: 3.0.0

for more information visit the package's GitHub page

Package contains the following modules:

Climbing grades in Elm

elm-climb implements parsers, converters and data structures to store climbing grades in Elm.

Currently, it supports the V-scale (Hueco scale) and Fontainbleu for Bouldering and the Yosemite Decimal Scale (5.x), French, and Brazillian systems for grading routes.

Examples

elm-climb uses a pseudo-typeclass API to generalize methods to different styles of climbing grades.


import Climb.Grades as exposing (..)


fontGrade = 
    parseGrade_ vv "V10"   -- parse a grade in the V-scale 
        |> toGrade font    -- convert to fontainbleau
        |> showGrade font  -- render fontainbleau grade

Most methods in the Climb.Grade module require a first argument specifying the system used to represent the grade. Each system has a corresponding class declared in the module.