Ticket #162 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Handle patterns in left of list comprehension generators.

Reported by: benl Owned by: erikd
Priority: blocker Milestone: 0.1.3
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

Changed 5 years ago by erikd

  • owner set to erikd
  • status changed from new to assigned

Changed 5 years ago by erikd

  • status changed from assigned to closed
  • resolution set to fixed

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.

Note: See TracTickets for help on using tickets.