GHC Trac Home
GHC Home
Joining In
Working on GHC
Mailing Lists & IRC
GHC Contributors
Documentation
Status Reports
Repositories
Building Guide
Commentary
Debugging
View Tickets
All Bugs
All Tasks
All Feature Req's
All Proposals
My Tickets
Tickets I Created
By Milestone
By OS
By Architecture
Patches for review
Create Ticket
New Bug
New Task
New Feature Req
Wiki
Title Index
Recent Changes
Wiki Notes
Search:
Login
Help/Guide
About Trac
Register
Forgot your password?
Preferences
Wiki
Timeline
Roadmap
View Tickets
Dashboard
Blog
Context Navigation
Back to Ticket #7006
Ticket #7006
: B.hs
File B.hs,
108 bytes
(added by anders_,
11 months
ago)
Line
1
{-# LANGUAGE GADTs, TypeOperators #-}
2
module
B
where
3
4
import
A
5
6
foo
::
List
(
x
': xs) -> x
7
foo (x :> _) = x
Download in other formats:
Original Format