Skip to content
View htsign's full-sized avatar
🤔
🤔

Sponsoring

@nathancorvussolis
@tpope

Block or report htsign

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. simple C# Option(Maybe) MonadLike im... simple C# Option(Maybe) MonadLike implementation
    1
    public static class Option
    2
    {
    3
        public static Option<T> Create<T>(T? value) => value != null ? new Some<T>(value) : Option<T>.None;
    4
        public static None<dynamic> None { get; } = new None<dynamic>();
    5
    }
  2. 引用式を評価して、式の途中で null になった場合に全体として nul... 引用式を評価して、式の途中で null になった場合に全体として null を返す関数を定義したい人生だった。C# でいうnull条件演算子( ?. ) のようなものを作りたいので少しずつ実装を進める。つもり。
    1
    namespace QuotationUtility
    2
    
                  
    3
    open System.Reflection
    4
    open Microsoft.FSharp.Linq.RuntimeHelpers
    5
    open Microsoft.FSharp.Quotations
  3. es3-polyfills.js es3-polyfills.js Public

    ES5 or above polyfills for ES3 (It's not compatible with ECMA-262 strictly)

    JavaScript 1

  4. Lambda expression implementation wit... Lambda expression implementation with wrapping Checked exception for Java
    1
    public class ExceptionWrapper {
    2
        @SuppressWarnings("unchecked")
    3
        public static <T, E extends Exception> T exec(ThrowableSupplier<T, E> func, Function<E, T> orElse) {
    4
            try {
    5
                return func.getThrowable();
  5. my-vim-settings my-vim-settings Public

    Vim Script