Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#162 closed defect (fixed)

Handle patterns in left of list comprehension generators.

Reported by: benl Owned by: erikd
Priority: blocker Milestone:
Component: Source Desugarer Version: 0.1.2
Keywords: Cc:

Description

Eg: from the Haskell prelude

transpose               :: [[a]] -> [[a]]
transpose []             = []
transpose ([]   : xss)   = transpose xss
transpose ((x:xs) : xss) = (x : [h | (h:_) <- xss]) : transpose (xs : [ t | (_:t) <- xss])

Change History (3)

comment:1 Changed 10 years ago by erikd

  • Owner set to erikd
  • Status changed from new to assigned

comment:2 Changed 10 years ago by erikd

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed int:

Tue Mar 2 20:32:49 EST 2010 Erik de Castro Lopo <erikd@…> Fix #162 : Handle patterns in left of list comprehension generators.

comment:3 Changed 8 years ago by benl

  • Milestone 0.1.3 deleted

Milestone 0.1.3 deleted

Note: See TracTickets for help on using tickets.