
#13855: Syntactic sugar to write the recursion in GHC
-------------------------------------+-------------------------------------
Reporter: vanto | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
The recursion is defined by two case that are a base case and a recursive
case.\\
Instead of writing two functions to describe the recursion, I propose to
write a single function that makes both.\\
{{{<op>}}} should be set to tell the compiler how to compile the
function.\\
syntaxe :
{{{
exp =