-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
The following code:
type Differentiable f =
( Functor f,
GenericK f,
GDifferentiable (RepK f),
GBifunctor (GDiff (RepK f))
)
triggers this message from stan in HLS:
✲ Name: Big tuples
✲ Description: Using tuples of big size (>= 4) can decrease code readability
✲ Severity: Style
✲ Category: #AntiPattern #Syntax
Possible solutions:
- Consider defining and using a custom data type to improve code comprehension
stan(STAN-0302)
However, this is not a tuple. It is a context, and there is no way to define a custom data type to improve code comprehension.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels