From c210311be639e8774dca25a332542d6b64ce3ca3 Mon Sep 17 00:00:00 2001 From: Tracy Wadleigh Date: Fri, 24 Apr 2009 13:58:33 +0000 Subject: More defined list-to-V/M operators: (|>|), (>|<). Provides analogs of the (|>) and (><) operators that first apply an appropriate 'take' to the given lists so that they may be safely used on lists that are too long (or infinite) -- a feature I find particularly useful from the interactive prompt. As these operators are more defined, I would ask the package maintainer to consider, rather than adding (|>|) and (>|<), just updating the definitions of (|>) and (><) with the new semantics. --- lib/Data/Packed/Vector.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Data/Packed/Vector.hs') diff --git a/lib/Data/Packed/Vector.hs b/lib/Data/Packed/Vector.hs index e53d455..ae30c27 100644 --- a/lib/Data/Packed/Vector.hs +++ b/lib/Data/Packed/Vector.hs @@ -14,7 +14,7 @@ module Data.Packed.Vector ( Vector, - fromList, (|>), toList, + fromList, (|>), (|>|), toList, dim, (@>), subVector, join, constant, linspace, -- cgit v1.2.3