Skip to content

Instantly share code, notes, and snippets.

sealed trait State
case class WithOffer(offer: Offer) extends State
object WithOffer {
implicit val hasOffer: HasOffer[WithOffer] = _.offer
}
case class WithoutOffer() extends State
case class WithPartner(partnerName: String) extends State
@bergmark
bergmark / gist:76cafefb300546e9b90e
Last active November 9, 2015 17:04 — forked from dcoutts/gist:9a909e908f5294c08118
Draft Hackage trustee policy and procedures

Draft Hackage trustee policy and procedures

The Hackage trustees are a group of volunteers who are interested in the health of the package collection as a whole. This is different to the role of maintainers of individual packages.

The trustees role is in many ways similar to that of the individuals who maintain the Haskell packages for the various Linux distributions. In Linux distributions the distribution maintainers seek to have their

<!-- page structure showing the title (line 7) and subtitle (line 8) -->
<article>
<section class="body">
<div class="layout meta"> <!-- left column -->
<div class="block header text" data-component-uri="http://silkapp.com/component/block/text">
<h1>Title</h1>
<p>Subtitle</p>
</div>
</div>
# create new page (or adjust existing page) called 'test'
$ curl https://api.silkapp.com/v1.4.0/site/uri/yoursite.silkapp.com/page/test
-d '<article>...</article>'
-b 'silk_sid=...'
-X PUT
-H 'Content-Type: application/xml'