| Age | Commit message (Collapse) | Author | Files | Lines | 
|---|
|  | to be made
to solve the following bug:
f
  # x = undef
  #! y = x
  | True
    = 2
  = y
After checking this will be like
f
  # x = undef
  | True
    = 2
  = x
To really solve this bug we have to invent something new, because aliases
like (#! y = x) are _not_ allowed. We could either introduce a dummy identity function:
f
  # x = undef
  #! y = dummy_id x
  | True
    = 2
  = y
or we could introduce constructs like
f
  # x = undef
  #! y
  | True
    = 2
  = y
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@145 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | function worked like
follows: In a first phase bind type variables to their instantiation for all producers. In the
second phase apply the substitution. This didn't work for consumers that are fused with multiple
producers, e.g:
  cons :: (a->b) (b->c) a -> c
  prod1 :: Int -> Int
  prod2 :: d->e
During producer-wise binding a and b were first bound to Int and Int. _Then_ b and c were bound
to d and e (b was overwritten)
Solution:
Apply the one substitution for each producer
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@144 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@143 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | #! (a, b) = f
was originally translated into
 #! _x = f
 #! a = _x.0
 #! b = _x.1
which is wrong. Now a an b are in a lazy context
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@142 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@141 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@140 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@139 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | did not recognise a dynamic.
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@138 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@137 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@136 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | funny constructors in algebraic typedefs
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@135 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | this into account)
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@134 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@133 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@132 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@131 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@130 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@129 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@128 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@127 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@126 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@125 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | revision
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@124 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@123 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@122 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@121 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@120 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@119 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@118 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@117 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@116 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@115 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | in "convertCasesOfFunctionsIntoPatterns" and "collectVariables")
 - new switch "SwitchUniquenessBug" in module checksupport
 - several bugfixes
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@114 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | fixed bug in arity check for local functions
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@113 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@112 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | bugfix
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@111 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@110 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@109 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@108 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@107 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@106 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@105 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@104 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@103 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@101 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@100 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@99 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@97 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@96 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@95 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d | 
|  | (new module: comparedefimp)
- implemented array patterns. Further work: arrays are in lazy context (should be strict),
    currently only one dimensional arrays
- optimised memory usage for explicit imports
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@94 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d |