elm-climbing-grades implements parsers, converters and data structures to store climbing grades in Elm.
Currently, it supports the V-scale (Hueco scale) and Fontainebleau for Bouldering and the Yosemite Decimal Scale (5.x), French, and Brazilian systems for grading routes.
elm-climbing-grades expose two modules with very similar interfaces: Grades.Bouldering and
Grades.Climbing that represent grades in their respective disciplines.
import Grades.Bouldering as Boulder
fontGrade =
Boulder.parse "V10" -- parse a grade in the V-scale
|> Maybe.withDefault Boulder.zero
|> to Boulder.Fontainebleau -- convert to Fontainebleau
|> Boulder.simplify -- remove any eventual modifier
|> Boulder.next -- bump one difficulty level
|> show font -- renders the Fontainebleau gradeBouldering grading systems
Lead climbing grading systems