Skip to content

Instantly share code, notes, and snippets.

View bleis-tift's full-sized avatar

bleis-tift bleis-tift

View GitHub Profile
Option Explicit
Private xSource As Variant
Private xLbRow As Long
Private xUbRow As Long
Private xLbCol As Long
Private xUbCol As Long
Private xIndexes As Variant
// Microsoft.CSharpγ‚’ε‚η…§γ«θΏ½εŠ γ™γ‚‹γ“γ¨
open System.Reflection
open System.Runtime.CompilerServices
open Microsoft.FSharp.Reflection
open Microsoft.CSharp.RuntimeBinder
let convert (inp:obj) : 'res =
inp |> unbox
@bleis-tift
bleis-tift / Program.fs
Created May 3, 2011 03:19
F#γ§ζ–‡ε­—εˆ—γ‚’eval
open Microsoft.FSharp.Compiler.CodeDom
open System.Reflection
open System.CodeDom.Compiler
type EvalResult<'a> =
| CompileError of string seq
| RuntimeError of exn
| Success of 'a
let eval args expr =
nnoremap <Space>gn :<C-u>w<CR>:Git now<CR>
nnoremap <Space>gN :<C-u>w<CR>:Git now --all<CR>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
#pragma warning disable 0414
namespace Enumγ«ζŸ”θ»Ÿγͺζ‹‘εΌ΅γ‚’θΏ½εŠ γ™γ‚‹θ©¦γΏ
{