Mercurial > repo
view paste/paste.30522 @ 12348:51ef64f7e399 draft
<int-e> learn The password of the month is Florida Recount 2.0
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 01 Nov 2020 02:41:32 +0000 |
parents | a69f205ae185 |
children |
line wrap: on
line source
2011-08-30.txt:17:21:15: <zzo38> I say I want to make the Haskell with many extension of my ideas, but they don't like it because is insane and is worthless and so on... 2011-08-30.txt:19:32:25: <elliott_> 17:21:15: <zzo38> I say I want to make the Haskell with many extension of my ideas, but they don't like it because is insane and is worthless and so on... 2011-09-02.txt:04:50:19: <zzo38> Or, make a Haskell program that does different things, all valid, but still somewhat useful, depending on which language extensions are enabled. 2011-09-02.txt:23:21:51: <zzo38> I made a Haskell program to know the extensions: http://sprunge.us/CBKY 2011-09-02.txt:23:26:30: <zzo38> I have discussed making a Haskell program that is programmed to tell what extensions it uses, now I have done so. Other ideas are, extend it with the capability to tell if it is Literate Haskell or not, as well as be valid programs in other programming languages such as C, C++, INTERCAL, TeX, Brainfuck, Malbolge, AWK, ... 2011-09-03.txt:22:26:42: <zzo38> How many Haskell extensions can you detect by the syntax of the program? (Not explicitly checking for them) 2011-09-05.txt:19:43:33: <zzo38> Which things in Haskell should be defined using Kan extensions? Is there Kan extensions in Haskell? 2011-09-09.txt:07:47:40: <zzo38> That is why you don't want Agda. But you might want to use some of their features in Haskell, but not always. However there are things neither of these have but then there can be other extensions, including type families and other stuff too. 2011-10-25.txt:20:04:55: <oerjan> @tell zzo38 <zzo38> What is the fixity for -> and can I set fixity for type operators <-- infixr 0 and yes, says http://www.haskell.org/ghc/docs/latest/html/users_guide/data-type-extensions.html#infix-tycons 2011-10-30.txt:21:05:35: <zzo38> If you need a program to read Haskell file without an extension so it doesn't know .hs or .lhs format, you can make it treated as .lhs if the first character is one of > \ % because none of these character are valid as the first character of a Haskell program anyways 2011-11-18.txt:20:57:50: <zzo38> Then, maybe you could add a dependent type extension to Haskell and then add (x ::) to that extension 2011-12-24.txt:09:36:09: <zzo38> If they added some Haskell extensions with a few features of Lisp, then you might be able to make a few more stuff with that. 2011-12-24.txt:09:42:59: <zzo38> If Haskell could somehow have something like that (don't know how) then it could improve. If such an extension could be exist, to allow somehow that. Maybe by allowing you to set a structure that includes the stack and functions to compile the program? 2012-01-30.txt:00:28:34: <zzo38> Is it OK in Haskell to have a class C and then a function of type C () => Int -> String and have it not callable unless you define that instance in the main program which imports that library? (Assuming relevant extensions are enabled) 2012-02-03.txt:22:20:49: <zzo38> How can we invent Haskell*#?@~ which is a new kind of group of extensions for Haskell which include many strange thing in addition to the normal things 2012-02-04.txt:23:23:30: <zzo38> Why aren't you allowed to hide things that a module does not export? That is one of my suggestion for a Haskell extension, which allows you to specify "hiding" on imports with things that are not exported by that module if you specify -XHidingNonexistent 2012-02-06.txt:01:29:00: <zzo38> There are so many things I can think of for Haskell extensions which might be useful to me but many people hate. I thought of another one now, which would be -XWildcardImports which allows you to write import X.Y.Zzz.*; import qualified Xyz.Abc.* as XyzAbc; import qualified Abc.Xyz.* as AbcXyz.*; 2012-02-06.txt:01:40:43: <zzo38> Other idea for Haskell extension is -XHideNonexist which allows a hiding clause of an import declaration to specify things which the named module does not export, without causing warning/error messages. 2012-02-07.txt:23:27:12: <zzo38> elliott: For the literate Haskell program, just some way to make it save the file with the .lhs extension (and possibly a way to enter the link without requiring the full URL, so that it will even work if moved or modified). For other things, a <code> tag which is like <pre> but can specify download filename which downloads its contents 2012-04-06.txt:02:25:12: <zzo38> If they allowed you to hide instances in Haskell, you could do it in the other way too. They should make an extension which allows you to hide instances. 2012-11-25.txt:20:21:54: <zzo38> I think they should do that with Haskell, too. Or, if is made Ibtlfmm with a Unicode extension, it makes the name like that, so that the same file can be used with ASCII files. 2013-03-08.txt:03:52:00: <oerjan> `pastelogs zzo38>.*haskell.*extension