Skip to content

Instantly share code, notes, and snippets.

View pchalamet's full-sized avatar
🦄
unraveling the mist

Pierre Chalamet pchalamet

🦄
unraveling the mist
View GitHub Profile
@pchalamet
pchalamet / Silo.cs
Last active November 12, 2019 05:12
silo logs
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Configuration;
using Orleans.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using cart.grain;
using System.Net;
@pchalamet
pchalamet / vector.fs
Created November 27, 2018 11:08
error FS0003: This value is not a function and cannot be applied. Why ?
type Vector1(x : float) =
member this.X = x
static member inline (*) (value : float, v : Vector1) =
Vector1(v.X * value)
static member inline (*) (v : Vector1, value : float) =
Vector1(v.X * value)
module Vector =