never executed always true always false
1 {-# LANGUAGE FunctionalDependencies #-}
2
3 {- |
4 Module : NITTA.UIBackend.ViewHelperCls
5 Description : Type class for marshaling helpers
6 Copyright : (c) Aleksandr Penskoi, 2021
7 License : BSD3
8 Maintainer : aleksandr.penskoi@gmail.com
9 Stability : experimental
10 -}
11 module NITTA.UIBackend.ViewHelperCls (
12 Viewable (..),
13 ) where
14
15 {- | Type class of helpers required for autogeneration of ToJSON and typescript
16 types.
17 -}
18 class Viewable t v | t -> v where
19 view :: t -> v