Notes on migrating from uvector to vector

I've summarised my notes on how to migrate array code from the uvector package to Roman's vector package: http://donsbot.wordpress.com/2010/02/15/migrating-from-uvector-to-vector/ And I'll take this opportunity to declare that uvector is now in official maintainance-only mode. Enjoy the new decade of flexible, fusible, fast arrays for Haskell! -- Don

Don Stewart wrote:
Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
More interesting might be a post on how to migrate from Data.Array to vector; it's news to me that any of these post-Haskell98 array libraries are production-ready yet. (And while we're on the subject, what's the status of DHP? Is that supposed to work yet? For nontrivial programs?)

On Mon, Feb 15, 2010 at 1:35 PM, Don Stewart
And I'll take this opportunity to declare that uvector is now in official maintainance-only mode.
Would it make sense to add a note to that effect to the package description / cabal file, so it shows up on hackage? ('Stability: Experimental' seems particularly odd ;) --Rogan

creswick:
On Mon, Feb 15, 2010 at 1:35 PM, Don Stewart
wrote: And I'll take this opportunity to declare that uvector is now in official maintainance-only mode.
Would it make sense to add a note to that effect to the package description / cabal file, so it shows up on hackage? ('Stability: Experimental' seems particularly odd ;)

On 16 February 2010 08:35, Don Stewart
Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade... ;-) -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com Pablo Picasso - "Computers are useless. They can only give you answers." - http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html

ivan.miljenovic:
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
Computer scientists count from zero. :-) -- Don

On 16 February 2010 14:45, Don Stewart
ivan.miljenovic:
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
Computer scientists count from zero. :-)
Except that the current numbering system to record the number of revolutions that our planet has revolved around the nearest solar body was not devised by computer scientists... -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com Charles de Gaulle - "The better I get to know men, the more I find myself loving dogs." - http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html

On Feb 16, 2010, at 4:53 PM, Ivan Miljenovic wrote:
On 16 February 2010 14:45, Don Stewart
wrote: ivan.miljenovic:
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
Computer scientists count from zero. :-)
Except that the current numbering system to record the number of revolutions that our planet has revolved around the nearest solar body was not devised by computer scientists...
I'm not sure what kind of people are responsible for ISO 8601, but the ISO calendar, mandated by several programming language standards including ANSI Smalltalk, uses something called the "proleptic Gregorian calendar" (ISO 8601) or the "retrospective Gregorian calendar" (ANSI Smalltalk), which includes a year zero. Although 1AD was preceded by 1BC, 1CE is preceded by 0CE. Given that Europe got the concept of zero from the Muslims, I wonder whether the Muslim calendar(s) has(have) a year 0?

Wikipedia claims in short that "Year Zero is the year before 1 A.D. used in
astronomical calculations.".
In full: http://en.wikipedia.org/wiki/Year_zero
Seems like no calendar, other than astronomical things include it.
On 16 February 2010 04:32, Richard O'Keefe
On Feb 16, 2010, at 4:53 PM, Ivan Miljenovic wrote:
On 16 February 2010 14:45, Don Stewart
wrote: ivan.miljenovic:
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
Computer scientists count from zero. :-)
Except that the current numbering system to record the number of revolutions that our planet has revolved around the nearest solar body was not devised by computer scientists...
I'm not sure what kind of people are responsible for ISO 8601, but the ISO calendar, mandated by several programming language standards including ANSI Smalltalk, uses something called the "proleptic Gregorian calendar" (ISO 8601) or the "retrospective Gregorian calendar" (ANSI Smalltalk), which includes a year zero. Although 1AD was preceded by 1BC, 1CE is preceded by 0CE.
Given that Europe got the concept of zero from the Muslims, I wonder whether the Muslim calendar(s) has(have) a year 0?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Ozgur Akgun

On Feb 17, 2010, at 2:26 AM, Ozgur Akgun wrote:
Wikipedia claims in short that "Year Zero is the year before 1 A.D. used in astronomical calculations.". In full: http://en.wikipedia.org/wiki/Year_zero
Seems like no calendar, other than astronomical things include it
That's not what that page says. Read on, where it says "there is a year zero in ... ISO 8601:2004 (where it coincides with the Gregorian year 1 BC)" and later "ISO 8601:2004 (and previously ISO 8601:2000, but not ISO 8601:1988) explicitly uses astronomical year numbering in its date reference systems.". Read that carefully; it doesn't mean that the 1988 edition of the standard didn't use year zero, just that it was not explicit about it. ISO 8601 is *the* international standard for representing dates and times. Sort of. XML Schema adopts 8601 *formats* but in section D.3.2 explicitly rejects year 0. Why they felt it advisible to override a core industry standard is not clear to me.

On Mon, Feb 15, 2010 at 9:43 PM, Ivan Miljenovic
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
Hm, I'm not sure about that; while it's fairly established that millenniums are 1-indexed (as there was no "Year 0" ... silly Gregorian calendar), it seems that decades are 0-indexed (e.g., "the 80s"). Unfortunately neither of my go-to usage guides (_Garner's Modern American Usage_ and _The Chicago Manual of Style_) says much on the topic. :p

Ivan Miljenovic wrote:
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
There certainly is /a/ decade that starts today. :-) Martijn.

On 17 February 2010 01:26, Martijn van Steenbergen
Ivan Miljenovic wrote:
On 16 February 2010 08:35, Don Stewart
wrote: Enjoy the new decade of flexible, fusible, fast arrays for Haskell!
/me points out that 2010 is actually the last year of the decade, and not the first year of a new decade...
There certainly is /a/ decade that starts today. :-)
Well, yes. By the way, I'm celebrating New Year's Eve in 12 days time; anyone want to join me? :p -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so." - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html
participants (8)
-
Andrew Coppin
-
Don Stewart
-
Ivan Miljenovic
-
Martijn van Steenbergen
-
Ozgur Akgun
-
Richard O'Keefe
-
Rogan Creswick
-
Tom Tobin