From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Denhardt Subject: Re: [PATCH 2/2] gnu: ghc: Add GHC_PACKAGE_PATH native search path. Date: Wed, 07 Oct 2015 00:44:12 -0400 Message-ID: <20151007044412.425.16625@vulcan> References: <1444166777-27350-1-git-send-email-ericbavier@openmailbox.org> <1444166777-27350-3-git-send-email-ericbavier@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha256"; boundary="===============1995249834981196743==" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjgcX-0000bm-Tf for guix-devel@gnu.org; Wed, 07 Oct 2015 00:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjgcU-0007Yh-NT for guix-devel@gnu.org; Wed, 07 Oct 2015 00:46:29 -0400 Received: from zenhack.net ([198.7.57.215]:42677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjgcU-0007X0-Iw for guix-devel@gnu.org; Wed, 07 Oct 2015 00:46:26 -0400 Content-Disposition: inline In-Reply-To: <1444166777-27350-3-git-send-email-ericbavier@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: ericbavier@openmailbox.org, guix-devel@gnu.org Cc: Eric Bavier --===============1995249834981196743== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Quoting ericbavier@openmailbox.org (2015-10-06 17:26:17) > + (define (line-items str) > + ;; Return a list of the whitespace-delimited "words" in a string > + (remove string-null? > + (map string-trim-both (string-split str char-set:whitespace)= ))) This strikes me as something generally useful enough to go with general string manipulation code somewhere. Maybe (guix utils)? --===============1995249834981196743== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWFKMWAAoJEPZUuMfUyjy4/QsP/3zFidD7pQ6i6IWohjyM6k+F g31UL3i1IPFdrd7kixYzg4DRJ2U/rzraTCdPYqcKwExIY5OVjYSH/L7Nd3sCl0iT lZY/NEPBAtsuwz7GbB1vttWZLkrVEuYCMdECHOsqNomKgPwGXqrHboAOGY9qG1Mg xjXTvOvbkpnjHNXvxi/GuuKlfHTshccWfQIQ0tAY3Izs60oEtpokclRe5Bt29uaw C1EB3D4OonCOjEUd0XZpklV4QHBp6G73v598PdXFmHVDdVNWZjmsnPTHU/plWLEn o40Z0XlKkL5MWX4JFByvNrFniLT3wU37OJqA4EnV7tHTyLTmbUtJ4RiSlK+niH2o 7yw0zJb/Sgp+MMCc9gi7TfUwgAn0IsUiW+xmEVIAvGbdIknCEpQTusjAbhJRuair tw4bYNJmJ8KDlItZ7n1rGiaDwxmHjPWLPEeyJpdSRHqAIuGLKOWyM3oqCvhl4sTO 3VeHb1tYsyUO9Jg6fxlUD0dMRadCKZ6PJvX7tJR0TYVMhamuTUPvEPgvMvKT7AYG rMJAWYuc/T00h8H+aaJ1BRTD1qxMPqSAjHnSRFclNuHT+Ghnai3TmPOJGi5X0h0Q 9Xds+FMBe1kGctK9VIDwbMpfUZdUbwYLG+PTBJHbEPu5PlhV5egjdgyWl17D/c4Z 7TFyp16ayUHuSXc5iV2E =BcH0 -----END PGP SIGNATURE----- --===============1995249834981196743==--