|
definition: |
calendarTimeToString :: CalendarTime -> String
calendarTimeToString ctime@(CalendarTime y mo d _ _ _ _) =
shortMonths!!(mo-1) ++ " " ++ show d ++ " " ++
toTimeString ctime ++ " " ++ show y
where shortMonths = ["Jan","Feb","Mar","Apr","May","Jun",
"Jul","Aug","Sep","Oct","Nov","Dec"]
|
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Transforms a calendar time into a readable form. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({CalendarTime}) |-> _}
|
|
name: |
calendarTimeToString |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
CalendarTime -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |