Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Change score semantics to [(Time, Duration, a)], i.e. remove Maybe #13

Closed
hanshoglund opened this issue Mar 29, 2013 · 2 comments
Closed
Labels
Milestone

Comments

@hanshoglund
Copy link
Member

I think we should instead let the user decide if they want rests in their score tranformer stack. We could say type RestT = Maybe.

Accordingly change type of

rest :: Default a => Score a

This would remove the need for perform and possibly simplify other things too. However there might be consequences.

@hanshoglund
Copy link
Member Author

Let us call the old and new semantics Score and Score2. Note that Score a and Score2 (Maybe a) are equivalent in every respect.

Maybe will be a standard part of the note transformer stack (with the optional alias type RestT = Maybe).

hanshoglund added a commit that referenced this issue May 31, 2013
Big refactoring, see #13 for details
Basic instances and combinators fixed
Remaining work: add Maybe (RestT) instances to transformer stack
@hanshoglund
Copy link
Member Author

See also #1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant