Skip to content

Instantly share code, notes, and snippets.

View danbornside's full-sized avatar

Dan Bornside danbornside

View GitHub Profile
{- errors:
common/src/Common/WrappedShow1.hs:42:43: error:
• Couldn't match expected type ‘[a] -> ShowS’ with actual type ‘a’
‘a’ is a rigid type variable bound by
the type signature for:
reifyShow :: forall a t.
(a -> a -> a)
-> a
-> (forall s. Reifies s (ReifiedShow a) => t -> ReflectedShow a s)
-> t
class MyMutableClass(object):
def __init__(self, foo, bar):
"This is a chore"
self.foo, self.bar = foo, bar
def mutateThing(self, baz=None, quux=None, wibble=None, wobble=None, wubble=None)
"I hope i didnt miss any arguments there"
if baz is not None:
self.baz = baz
if quux is not None: