Skip to content

Commit 81ec8e7

Browse files
committed
fix mistaken parens in Shortcuts
1 parent 5d8a072 commit 81ec8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/ProjectM36/Shortcuts.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ instance KnownSymbol x => IsLabel x RelationalExpr where
6060
--
6161
-- ps. I don't understand the usage of "AttributeAndTypeNameExpr AttributeName TypeConstructor a"
6262
instance (KnownSymbol x, Atomable a)=> IsLabel x (HaskAtomType a -> AttributeExpr) where
63-
fromLabel atyn = NakedAttributeExpr (Attribute name atyn) . toAtomType''
63+
fromLabel = (NakedAttributeExpr . Attribute name) . toAtomType''
6464
where name = T.pack $ symbolVal @x Proxy
6565

6666
-- (#a 1) :: ExtendTupleExpr

0 commit comments

Comments
 (0)