unitsize(2cm);
import geometry;
linemargin=5mm;
// currentcoordsys=cartesiansystem((2,1),i=(1,0.25),j=(-0.25,.75));
// show(li=Label("$\vec{\imath}$",align=S,EndPoint), currentcoordsys);
point A=(-1,-1), B=(1,0.5);
line l1=line(A,B);
draw("$(l_1)$",l1);
draw("$s_1$",(segment) l1, 2pt+red,
marker(stickframe,markuniform(2,true)));
/**/
line bis=bisector((segment) l1);
draw(bis,red);
/**/
show(bis,grey);
/**/
dot(point(bis,1.5));
draw(box(locate((-2,-2)),locate((2,2))),invisible);