Commit 334e31bd authored by Mann mit Hut's avatar Mann mit Hut Committed by vdukhovni
Browse files

Fixes #139: Added Show instances in Resource module

parent b315336f
......@@ -40,17 +40,17 @@ data Resource
#ifdef RLIMIT_AS
| ResourceTotalMemory
#endif
deriving Eq
deriving (Eq, Show)
data ResourceLimits
= ResourceLimits { softLimit, hardLimit :: ResourceLimit }
deriving Eq
deriving (Eq, Show)
data ResourceLimit
= ResourceLimitInfinity
| ResourceLimitUnknown
| ResourceLimit Integer
deriving Eq
deriving (Eq, Show)
data {-# CTYPE "struct rlimit" #-} RLimit
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment