|   | 1 |  initial version  | 
A haskell compiler is not part of the Sage dependencies, so you won't be able to include your code with the official Sage distribution for the forseeable future. We could theoretically ship generated C source but that's not very maintainable.
Having said that, as an out-of-tree library you can copy its files any way you want. I don't think there is an "official" way.
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.