blob: f43b534eb013d5ded7c63f2921990d651b9afd07 (
plain) (
tree)
|
|
module ChordInspector exposing (render)
import Html exposing (..)
import NoteInspector
import Theory
render : Theory.Chord -> Html a
render chord =
case Theory.notesForChord chord of
Nothing ->
p [] [ text "Cannot retrieve the notes for the chord." ]
Just notes ->
NoteInspector.render notes
|