xgrommx Github contribution chart
xgrommx Github Stats
xgrommx Most Used Languages

Activity

10 Sep 2022

Issue Comment

Xgrommx

`(>>=)` should be constrained with `Map`

Hello,Monad should be restricted with Map

Here

type Maybe<'a> =
   | Just of 'a
   | Nothing 

let maybeMap f m = match m with
  | Just x -> Just (f x)
  | Nothing -> Nothing

//type Maybe<'a> with
//  static member Map (x: Maybe<'a>, f: 'a -> 'b) = maybeMap f x

//let r2' = map (fun x -> x + 1.0) (Just 10.0)

let maybeBind f m = match m with
  | Just x -> f x
  | Nothing -> Nothing

type Maybe<'a> with
  static member (>>=) (x: Maybe<'a>, f: 'a -> Maybe<'b>) = maybeBind f x

let r2'' = Just 10 >>= fun x -> Just (x + 10) 

Should throw error that, Maybe doesn't have property Map, because Monad should be restricted with Map But probably should be Functor <= Applicative <= Monad

Forked On 10 Sep 2022 at 02:23:30

Xgrommx

@cannorin I know haskell, purescript, etc

Commented On 10 Sep 2022 at 02:23:30
Issue Comment

Xgrommx

`(>>=)` should be constrained with `Map`

Hello,Monad should be restricted with Map

Here

type Maybe<'a> =
   | Just of 'a
   | Nothing 

let maybeMap f m = match m with
  | Just x -> Just (f x)
  | Nothing -> Nothing

//type Maybe<'a> with
//  static member Map (x: Maybe<'a>, f: 'a -> 'b) = maybeMap f x

//let r2' = map (fun x -> x + 1.0) (Just 10.0)

let maybeBind f m = match m with
  | Just x -> f x
  | Nothing -> Nothing

type Maybe<'a> with
  static member (>>=) (x: Maybe<'a>, f: 'a -> Maybe<'b>) = maybeBind f x

let r2'' = Just 10 >>= fun x -> Just (x + 10) 

Should throw error that, Maybe doesn't have property Map, because Monad should be restricted with Map But probably should be Functor <= Applicative <= Monad

Forked On 09 Sep 2022 at 06:55:26

Xgrommx

@cannorin But maybe we can create more readable error text?

Commented On 09 Sep 2022 at 06:55:26
Issue Comment

Xgrommx

`(>>=)` should be constrained with `Map`

Hello,Monad should be restricted with Map

Here

type Maybe<'a> =
   | Just of 'a
   | Nothing 

let maybeMap f m = match m with
  | Just x -> Just (f x)
  | Nothing -> Nothing

//type Maybe<'a> with
//  static member Map (x: Maybe<'a>, f: 'a -> 'b) = maybeMap f x

//let r2' = map (fun x -> x + 1.0) (Just 10.0)

let maybeBind f m = match m with
  | Just x -> f x
  | Nothing -> Nothing

type Maybe<'a> with
  static member (>>=) (x: Maybe<'a>, f: 'a -> Maybe<'b>) = maybeBind f x

let r2'' = Just 10 >>= fun x -> Just (x + 10) 

Should throw error that, Maybe doesn't have property Map, because Monad should be restricted with Map But probably should be Functor <= Applicative <= Monad

Forked On 08 Sep 2022 at 08:40:54

Xgrommx

@gusty I mean that we cannot write Monad if it isn't Applicative and Functor, of course we can derive it via Monad b some laws and rules. My question was, how can I create some new typeclass with restriction on type that it should be Monad

Commented On 08 Sep 2022 at 08:40:54

Xgrommx

started

Started On 07 Sep 2022 at 12:30:37

Xgrommx

started

Started On 24 Aug 2022 at 11:17:02
Issue Comment

Xgrommx

tabSorter2 cannot be find in chrome extensions

Hi, looks like this extension was removed from chrome store. I don't know what is reason, but this extension was amazing.

Forked On 23 Aug 2022 at 02:26:29

Xgrommx

@Mimieam Sorry, but I'll never to use this extensions anymore and I will don't recommend it someone in feature. It will be reasonable for IDE or smth similar but not for chrome extensions (one-pay model will be possible, but not subscription model)

Commented On 23 Aug 2022 at 02:26:29
Issue Comment

Xgrommx

New Ideas ?

This issue is an open thread for anyone wanting to bring up/ discuss a new idea :)

Forked On 20 Aug 2022 at 08:26:31

Xgrommx

Please answer https://github.com/Mimieam/TabSorter2/issues/28#issuecomment-1221364668

Commented On 20 Aug 2022 at 08:26:31
Issue Comment

Xgrommx

tabSorter2 cannot be find in chrome extensions

Hi, looks like this extension was removed from chrome store. I don't know what is reason, but this extension was amazing.

Forked On 20 Aug 2022 at 04:46:11

Xgrommx

@Mimieam are u sure that subscription model for chrome extensions is a good idea?

Commented On 20 Aug 2022 at 04:46:11

Xgrommx

started

Started On 20 Aug 2022 at 03:42:55

Xgrommx

started

Started On 20 Aug 2022 at 11:07:38
Issue Comment

Xgrommx

Build Issue

I get an error when i try to build it

In file included from arch\x86\x86_helpers.cpp:18: 1>In file included from arch\x86/x86_helpers.h:21: 1>C:\Users\danie\Downloads\GPCS4-0.2.2\3rdParty\xbyak\xbyak.h(16,6): error : invalid token at start of a preprocessor expression 1>Die Erstellung des Projekts "TinyDBR.vcxproj" ist abgeschlossen -- ERROR

Forked On 10 Aug 2022 at 03:32:23

Xgrommx

Also in your sources these files are missing #include <boost/predef/version_number.h> #include <boost/predef/hardware/simd/arm/versions.h>

https://levelup.gitconnected.com/the-definite-guide-on-compiling-and-linking-boost-c-libraries-for-visual-studio-projects-c79464d7282d

Commented On 10 Aug 2022 at 03:32:23

Xgrommx

Derive Foldable and Traversable instances

Description of the change

Fixes #2518.


Checklist:

  • [x] Added a file to CHANGELOG.d for this PR (see CHANGELOG.d/README.md)
  • [ ] Added myself to CONTRIBUTORS.md (if this is my first contribution)
  • [x] Linked any existing issues or proposals that this pull request should close
  • [ ] Updated or added relevant documentation
  • [ ] Added a test for the contribution (if applicable)

Forked On 25 Jul 2022 at 08:08:21

Xgrommx

@rhendric just reaction and no some explanation?
On 25 Jul 2022 at 08:08:21

Xgrommx

Derive Foldable and Traversable instances

Description of the change

Fixes #2518.


Checklist:

  • [x] Added a file to CHANGELOG.d for this PR (see CHANGELOG.d/README.md)
  • [ ] Added myself to CONTRIBUTORS.md (if this is my first contribution)
  • [x] Linked any existing issues or proposals that this pull request should close
  • [ ] Updated or added relevant documentation
  • [ ] Added a test for the contribution (if applicable)

Merged On 25 Jul 2022 at 08:08:21

Xgrommx

Commented On 25 Jul 2022 at 08:08:21

Xgrommx

Derive Foldable and Traversable instances

Description of the change

Fixes #2518.


Checklist:

  • [x] Added a file to CHANGELOG.d for this PR (see CHANGELOG.d/README.md)
  • [ ] Added myself to CONTRIBUTORS.md (if this is my first contribution)
  • [x] Linked any existing issues or proposals that this pull request should close
  • [ ] Updated or added relevant documentation
  • [ ] Added a test for the contribution (if applicable)

Forked On 24 Jul 2022 at 04:19:38

Xgrommx

I think if we derive `Traversable`, should be automatically derived `Functor` and `Foldable`
On 24 Jul 2022 at 04:19:38

Xgrommx

Derive Foldable and Traversable instances

Description of the change

Fixes #2518.


Checklist:

  • [x] Added a file to CHANGELOG.d for this PR (see CHANGELOG.d/README.md)
  • [ ] Added myself to CONTRIBUTORS.md (if this is my first contribution)
  • [x] Linked any existing issues or proposals that this pull request should close
  • [ ] Updated or added relevant documentation
  • [ ] Added a test for the contribution (if applicable)

Merged On 24 Jul 2022 at 04:19:38

Xgrommx

Commented On 24 Jul 2022 at 04:19:38

Xgrommx

started

Started On 07 Jul 2022 at 09:37:04

Xgrommx

Added Lean

Added the Lean programming language to the list of languages.

Pushed On 02 Jul 2022 at 09:12:56

Xgrommx

Merge pull request #60 from crabbo-rave/patch-1

Added Lean

Pushed On 02 Jul 2022 at 09:12:56

Xgrommx

Added Lean

Created On 02 Jul 2022 at 09:12:56

Xgrommx

Add Functional Programming Simplified book

Pushed On 02 Jul 2022 at 09:12:36

Xgrommx

Merge branch 'master' into patch-1

Pushed On 02 Jul 2022 at 09:12:36

Xgrommx

Merge pull request #63 from kelvins/patch-1

Add Functional Programming Simplified book

Pushed On 02 Jul 2022 at 09:12:36

Xgrommx

Add Functional Programming Simplified book

Created On 02 Jul 2022 at 09:12:36

Xgrommx

Add Clojure for the Brave and True book

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Add OCaml Programming on Books

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Add functionalcs on Resources

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Add functionalcs on Resources

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Add Haskell MOOC on Resources

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Update README.md

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Merge pull request #65 from sngbd/master

Add OCaml Programming on Books

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Merge branch 'master' into patch-2

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Merge pull request #64 from kelvins/patch-2

Add Clojure for the Brave and True book

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Merge branch 'master' into patch-1

Pushed On 02 Jul 2022 at 09:12:27

Xgrommx

Add Clojure for the Brave and True book

Pushed On 02 Jul 2022 at 09:11:36

Xgrommx

Merge branch 'master' into patch-2

Pushed On 02 Jul 2022 at 09:11:36

Xgrommx

Merge pull request #64 from kelvins/patch-2

Add Clojure for the Brave and True book

Pushed On 02 Jul 2022 at 09:11:36

Xgrommx

Add Clojure for the Brave and True book

Created On 02 Jul 2022 at 09:11:36

Xgrommx

Add OCaml Programming on Books

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Add functionalcs on Resources

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Add functionalcs on Resources

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Add Haskell MOOC on Resources

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Update README.md

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Merge pull request #65 from sngbd/master

Add OCaml Programming on Books

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Merge branch 'master' into patch-2

Pushed On 02 Jul 2022 at 09:11:26

Xgrommx

Add OCaml Programming on Books

Pushed On 02 Jul 2022 at 09:09:31

Xgrommx

Add functionalcs on Resources

Pushed On 02 Jul 2022 at 09:09:31

Xgrommx

Add functionalcs on Resources

Pushed On 02 Jul 2022 at 09:09:31

Xgrommx

Add Haskell MOOC on Resources

Pushed On 02 Jul 2022 at 09:09:31

Xgrommx

Update README.md

Pushed On 02 Jul 2022 at 09:09:31

Xgrommx

Merge pull request #65 from sngbd/master

Add OCaml Programming on Books

Pushed On 02 Jul 2022 at 09:09:31

Xgrommx

Add OCaml Programming on Books

Created On 02 Jul 2022 at 09:09:30