Received: by 10.224.123.206 with SMTP id q14mr682670qar.23.1264528539617; Tue, 26 Jan 2010 09:55:39 -0800 (PST) Received: by 10.224.123.206 with SMTP id q14mr682669qar.23.1264528539595; Tue, 26 Jan 2010 09:55:39 -0800 (PST) Return-Path: Received: from www.haskell.org (bugs.haskell.org [128.36.229.215]) by gmr-mx.google.com with ESMTP id 18si934694qyk.13.2010.01.26.09.55.39; Tue, 26 Jan 2010 09:55:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of haskell-cafe-boun...@haskell.org designates 128.36.229.215 as permitted sender) client-ip=128.36.229.215; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of haskell-cafe-boun...@haskell.org designates 128.36.229.215 as permitted sender) smtp.mail=haskell-cafe-boun...@haskell.org; dkim=neutral (body hash did not verify) header...@gmail.com Received: from haskell.cs.yale.edu (localhost.localdomain [127.0.0.1]) by www.haskell.org (Postfix) with ESMTP id C7DA1324744; Tue, 26 Jan 2010 12:27:25 -0500 (EST) X-Original-To: haskell-c...@haskell.org Delivered-To: haskell-c...@haskell.org Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.210.180]) by www.haskell.org (Postfix) with ESMTP id ECA083243DA for ; Tue, 26 Jan 2010 12:27:18 -0500 (EST) Received: by yxe10 with SMTP id 10so4105111yxe.12 for ; Tue, 26 Jan 2010 09:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=SJnbre2PkyHeZiQtlBTE/EiqVxjozTDlk8YF02wyI5w=; b=o97akOY3AMhZCt3GS72uHroWx5CHsJS/A/4g7Bfx7f7iVYQH60374XdWf+ODYgTV6Z TmDEe+M0ETnR5D79RaUHA/aDoTUJEMauvE5ksrkptonLSSf7Ed3eMf9z5hNdqrZ1wnQV 6EJh6i3p6gRQFTcy/9F+hLwX761qm+9vJt3Uw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=JByJRFEOFDzHJ419YcGthvSUpidiUrrJN+bCDvvd8EkkXxRKEsghDa//Uh9xWsWa2c i6o3Ab0F8k+771znllSUKz1jYyU0lVA1+ohDpHAHz0ogo58sjxkIYUFWhb6rMfs6hPGE d2AQJ8lR6O3GGz7zBHvYvXfBAYMo1+6U4s6RE= Received: by 10.150.165.18 with SMTP id n18mr1297846ybe.253.1264528528014; Tue, 26 Jan 2010 09:55:28 -0800 (PST) Received: from localhost (201-88-85-27.bsaco700.dsl.brasiltelecom.net.br [201.88.85.27]) by mx.google.com with ESMTPS id 8sm2097700yxg.6.2010.01.26.09.55.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 26 Jan 2010 09:55:27 -0800 (PST) Received: from felipe by localhost with local (Exim 4.69) (envelope-from ) id 1NZpdL-00055C-25 for haskell-c...@haskell.org; Tue, 26 Jan 2010 15:55:23 -0200 Date: Tue, 26 Jan 2010 15:55:22 -0200 From: Felipe Lessa To: haskell-c...@haskell.org Subject: Re: [Haskell-cafe] Re: could we get a Data instance for Data.Text.Text? Message-ID: <20100126175522.GA18...@kira.casa> Mail-Followup-To: haskell-c...@haskell.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: haskell-c...@haskell.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Haskell Cafe List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: haskell-cafe-boun...@haskell.org Errors-To: haskell-cafe-boun...@haskell.org On Tue, Jan 26, 2010 at 11:52:34AM -0600, Jeremy Shaw wrote: > + toConstr _ = error "toConstr" > + gunfold _ _ = error "gunfold" Isn't it better to write error "Data.Text.Text: toConstr" Usually I try to do this as we don't get stack traces for _|_. -- Felipe. _______________________________________________ Haskell-Cafe mailing list Haskell-C...@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe