Skip to content

Instantly share code, notes, and snippets.

Following is my mental journey and interaction with ocaml tooling as a newb. It's not meant as a negative criticism, but a form of constructive feedback. Part of the confusion may be caused by my own skill issues. Hopefully this serves as a case study of areas that could be streamlined or better documented.

Esy

So it appears I can make an ocaml/reason project with npm. Great! It's kind confusing. Dependencies are not really npm dependencies, but are in the package.json? Npm install doesn't work with them inside? Ah. It kinda just executes esy via npm, which runs opam under the hood? Maybe I'll try the "native" way with opam/dune directly...

@cician
cician / TransformEditorWrapper.cs
Last active December 27, 2015 17:18
Transform editor rendering the original Unity's editor.
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(Transform))]
public class TransformEditorWrapper : Editor {
Editor transformEditor;
void OnEnable() {
Transform transform = target as Transform;
System.Type t = typeof(UnityEditor.EditorApplication).Assembly.GetType("UnityEditor.TransformInspector");