-
Notifications
You must be signed in to change notification settings - Fork 93
Patch basement-0.0.6/Basement/Terminal/Size.hsc #471
Conversation
add weeder test
Add better implementation of Builder
Fix the build on GHC 7.8
Add ghc-7.8 travis job
Block/UArray/Builder: `concat` performance update
* add unicode casefolding files parser Part of issue #271. * Add unicode special case parser. Part of issue #271. * Pretty printing hex values. Part of issue #271. * Implement unicode multi character upper and lower. Part of issue #271. * Optimize caseConvert for single char convert. Part of issue #271. * Property testing upper. Part of issue #271. * NMichels review, batch 2. Part of issue #271.
Compat amp 78
add CSV builder on top of Block and String Builder
Hi @asyropoulos , nice try. But no it is not like this. I see from your github profile you are not used to working on open source project. The usual workflow in open source projects on github is the following:
I hope this won't be your last contribution to an open source project, you can find lot of tutorials to explain how git and github works out there if it helps. Would you be happy if for now if I commit your patch but with you authoring it ? |
Thanks for the patch @asyropoulos - the knowledge is useful - but if you follow the standard GitHub flow then the code could be merged directly (you get the credit more explicitly, and the maintainers have a lot less work to do). See https://guides.github.com/activities/forking/ and https://guides.github.com/introduction/flow/ for the rough overview. |
I have double checked it and the patch makes it possible to compile basement-0.0.6 under Solaris. Please apply/push/commit/whatever_the_verb the patch to the source code if this is possible. And yes I have contributed to many projects. Some contributions were like this one and others created new functionality to tools, etc. However, in all cases I was just reporting the problem and the solution and that was all. I admit it that I have no experience with github and git in general. |
thanks, I have applied the patch with #472 |
I tried to compile basement-0.0.6 on OpenIndiana with ghc-8.2.2 and it failed. I discoved that the following patch solves the problem:
diff -Naur basement-0.0.6/Basement/Terminal/Size.hsc basement-0.0.6.new/Basement/Terminal/Size.hsc
--- basement-0.0.6/Basement/Terminal/Size.hsc 2017-11-11 19:03:59.000000000 +0000
+++ basement-0.0.6.new/Basement/Terminal/Size.hsc 2018-01-21 15:03:03.899338329 +0000
@@ -20,6 +20,9 @@
#include <windows.h>
#elif defined FOUNDATION_SYSTEM_UNIX
#include <sys/ioctl.h>
+#ifdef __sun
+#include <sys/termios.h>
+#endif
#endif
#include <stdio.h>
Could include this patch in the source distribution?